2016-12-21 16:05:03 +01:00
|
|
|
---
|
2017-10-09 09:17:52 +02: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
|
2021-05-02 23:29:27 +02:00
|
|
|
- name: php74
|
|
|
|
release: bullseye
|
2024-05-03 15:09:08 +02:00
|
|
|
- name: php82
|
|
|
|
release: bookworm
|
|
|
|
- name: php83
|
|
|
|
release: bookworm
|
2021-05-02 23:29:27 +02:00
|
|
|
# evolinux_apt_public_sources: False
|
2017-10-06 15:47:37 +02:00
|
|
|
|
2021-05-02 23:29:27 +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-16 13:52:34 +02:00
|
|
|
- evolinux-base
|
|
|
|
- evolinux-users
|
2020-04-17 16:05:43 +02:00
|
|
|
# - { role: postfix, postfix_packmail: True, postfix_force_main_cf: True }
|
|
|
|
# - { 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"
|
2023-01-06 09:53:37 +01:00
|
|
|
#
|
2020-04-17 16:05:43 +02:00
|
|
|
# - include_role:
|
|
|
|
# name: evocheck
|
|
|
|
# tasks_from: exec.yml
|