ansible-public/test/vagrant.yml

140 lines
4 KiB
YAML
Raw Normal View History

2016-12-21 16:05:03 +01:00
---
- hosts: all
2016-12-21 16:05:03 +01:00
gather_facts: yes
become: yes
2017-10-06 15:47:37 +02:00
vars_files:
2020-04-17 16:05:43 +02:00
- '~/GIT/evolix-private/vars/evolinux-secrets.yml'
2017-10-06 15:47:37 +02:00
2016-12-21 16:05:03 +01:00
vars:
2020-04-17 16:05:43 +02:00
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"
2021-08-16 13:52:34 +02:00
# host_group: vagrant
2020-04-17 16:05:43 +02:00
2017-01-03 17:26:06 +01:00
evolinux_apt_upgrade: False
2018-04-15 16:00:28 +02:00
# evolinux_root_disable_ssh: False
2020-04-17 16:05:43 +02:00
evomaintenance_install_vendor: True
evomaintenance_alert_email: "evomaintenance-{{ evolinux_internal_hostname }}@evolix.fr"
2017-10-08 23:58:35 +02:00
evolinux_ssh_allow_current_user: True
2018-04-15 16:00:28 +02:00
minifirewall_additional_trusted_ips: ["192.168.0.0/16", "10.0.0.0/8"]
2020-04-17 16:05:43 +02:00
minifirewall_http_sites: ["0.0.0.0/0"]
2017-10-08 23:58:35 +02:00
packweb_enable_evoadmin_vhost: True
2020-04-17 16:05:43 +02:00
evoadmin_contact_email: jlecour@evolix.fr
2017-10-08 23:58:35 +02:00
packweb_phpmyadmin_suffix: "uE34swx9"
2018-04-15 16:00:28 +02:00
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'
2020-04-17 16:05:43 +02:00
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
2017-10-06 15:47:37 +02:00
# pre_tasks:
# - name: "Ansible | List all known variables and facts"
# debug:
# var: hostvars[inventory_hostname]
2016-12-21 16:05:03 +01:00
roles:
2021-08-17 15:34:29 +02:00
- bullseye-detect
2020-04-17 16:05:43 +02:00
# - aws-tuning
2021-08-16 13:52:34 +02:00
# - apt
- evolinux-base
- evolinux-users
2020-04-17 16:05:43 +02:00
# - { role: del-user, username: "gcolpart" }
# - metricbeat
# - { role: squid, squid_localproxy_enable: True }
# - apache
# - nginx
# - mysql
2018-04-15 16:00:28 +02:00
# - mysql-oracle
2020-04-17 16:05:43 +02:00
# - percona
2021-08-16 13:52:34 +02:00
# - postgresql
- packweb-apache
2020-04-17 16:05:43 +02:00
# - { 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 }
2018-04-15 16:00:28 +02:00
# - evoacme
2020-04-17 16:05:43 +02:00
# - etc-git
2021-08-16 13:52:34 +02:00
# - kvm-host
2020-04-17 16:05:43 +02:00
# - mongodb
2018-04-15 16:00:28 +02:00
# - mysql
2020-04-17 16:05:43 +02:00
# - proftpd
# - haproxy
# - varnish
2018-04-15 16:00:28 +02:00
# - supervisord
# - elasticsearch
# - kibana
2018-04-15 16:00:28 +02:00
# - evoacme
2020-04-17 16:05:43 +02:00
# - 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" }
2020-04-17 16:05:43 +02:00
# - evocheck
2018-04-15 16:00:28 +02:00
# - tomcat
2020-04-17 16:05:43 +02:00
# - redis
2018-04-15 16:00:28 +02:00
# - unbound
2020-04-17 16:05:43 +02:00
# - php
# - ldap
2020-04-17 16:05:43 +02:00
# - { role: postfix, postfix_packmail: True, postfix_force_main_cf: True }
# - apache
# - php
# - { role: webapps/evoadmin-mail }
# - { role: webapps/roundcube }
2021-08-16 13:52:34 +02:00
# tasks:
# - debug:
# var: "ansible_lsb.codename"
2020-04-17 16:05:43 +02:00
# 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