99 lines
2.9 KiB
YAML
99 lines
2.9 KiB
YAML
---
|
|
- 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
|
|
- name: php82
|
|
release: bookworm
|
|
- name: php83
|
|
release: bookworm
|
|
# evolinux_apt_public_sources: False
|
|
|
|
# pre_tasks:
|
|
# - name: "Ansible | List all known variables and facts"
|
|
# debug:
|
|
# var: hostvars[inventory_hostname]
|
|
|
|
roles:
|
|
- evolinux-base
|
|
- evolinux-users
|
|
# - { role: postfix, postfix_packmail: True, postfix_force_main_cf: True }
|
|
# - { 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
|