--- - hosts: all gather_facts: yes become: yes vars_files: - '~/GIT/evolix-private/vars/evolinux-secrets.yml' vars: evolinux_hostname: "vagrant-{{ inventory_hostname }}" evolinux_domain: "evolix.local" # evolinux_fqdn: "{{ evolinux_hostname }}.{{ evolinux_domain }}" # evolinux_internal_hostname: "vagrant-{{ inventory_hostname }}-internal" # evolinux_internal_domain: "evolix-internal.local" # host_group: vagrant evolinux_apt_upgrade: False # evolinux_root_disable_ssh: False evomaintenance_install_vendor: True evomaintenance_alert_email: "evomaintenance-{{ evolinux_internal_hostname }}@evolix.fr" evolinux_ssh_allow_current_user: True minifirewall_additional_trusted_ips: ["192.168.0.0/16", "10.0.0.0/8"] minifirewall_http_sites: ["0.0.0.0/0"] packweb_enable_evoadmin_vhost: True evoadmin_contact_email: jlecour@evolix.fr packweb_phpmyadmin_suffix: "uE34swx9" evolinux_apt_include: True evolinux_etcgit_include: True evolinux_hostname_include: True evolinux_kernel_include: True evolinux_fstab_include: True evolinux_packages_include: True evolinux_system_include: True evolinux_evomaintenance_include: True evolinux_ssh_include: True evolinux_users_include: False evolinux_root_include: True evolinux_postfix_include: True evolinux_logs_include: True evolinux_default_www_include: True evolinux_hardware_include: True evolinux_provider_online_include: False evolinux_provider_orange_fce_include: False evolinux_log2mail_include: True evolinux_minifirewall_include: True evolinux_munin_include: True evolinux_nagios_nrpe_include: True evolinux_fail2ban_include: False mysql_custom_datadir: '/home/mysql' mysql_custom_tmpdir: '/home/tmpmysql' mysql_custom_logdir: '/home/mysql-logs' # evolinux_apt_public_sources: False apt_upgrade: True lxc_containers: - name: php56 release: jessie - name: php70 release: stretch - name: php73 release: buster - name: php74 release: bullseye # evolinux_apt_public_sources: False # pre_tasks: # - name: "Ansible | List all known variables and facts" # debug: # var: hostvars[inventory_hostname] roles: - bullseye-detect # - aws-tuning # - apt - evolinux-base - evolinux-users # - { role: del-user, username: "gcolpart" } # - metricbeat # - { role: squid, squid_localproxy_enable: True } # - apache # - nginx # - mysql # - mysql-oracle # - percona # - postgresql - packweb-apache # - { role: packweb-apache, packweb_mysql_variant: "oracle" } # - { role: memcached, memcached_instance_name: "instance1" } # - { role: memcached, memcached_instance_name: "instance2", memcached_port: 11212 } # - { role: redis } # - { role: redis, redis_instance_name: "instance1", redis_port: 6380 } # - { role: redis, redis_instance_name: "instance2", redis_port: 6381 } # - evoacme # - etc-git # - kvm-host # - mongodb # - mysql # - proftpd # - haproxy # - varnish # - supervisord # - elasticsearch # - kibana # - evoacme # - lxc # - { role: lxc-php, lxc_php_version: "php56" } # - { role: lxc-php, lxc_php_version: "php70" } # - { role: lxc-php, lxc_php_version: "php73" } # - { role: lxc-php, lxc_php_version: "php74" } # - evocheck # - tomcat # - redis # - unbound # - php # - ldap # - { role: postfix, postfix_packmail: True, postfix_force_main_cf: True } # - apache # - php # - { role: webapps/evoadmin-mail } # - { role: webapps/roundcube } # tasks: # - debug: # var: "ansible_lsb.codename" # post_tasks: # - include_role: # name: etc-git # tasks_from: commit.yml # vars: # commit_message: "Ansible post-run Evolinux playbook" # # - include_role: # name: evocheck # tasks_from: exec.yml