forked from evolix/ansible-roles
Patrick Marchand
20191c8873
The default behavior for ansible template is to overwrite the targeted file. Since we dont always want to overwrite a file when we play this role, we set `force` to `False` by default. This means that if the `dest` already exists, ansible will not overwrite it with it's given template. This is fine for most of the tasks in this role, but in the case of `{{ evoadmin_scripts_dir }}/web-mail.tpl`,the file is created by a task that runs prior to the template task, so setting it to `False` by default means it never gets updated and clients dont get notified when they create new websites.
33 lines
1 KiB
YAML
33 lines
1 KiB
YAML
---
|
|
general_alert_email: "root@localhost"
|
|
evoadmin_contact_email: Null
|
|
evoadmin_bounce_email: "{{ evoadmin_contact_email }}"
|
|
|
|
evoadmin_home_dir: "/home/{{ evoadmin_username }}"
|
|
evoadmin_document_root: "{{ evoadmin_home_dir }}/www"
|
|
evoadmin_log_dir: "{{ evoadmin_home_dir }}/log"
|
|
evoadmin_scripts_dir: /usr/share/scripts/evoadmin
|
|
evoadmin_host: "evoadmin.{{ ansible_fqdn }}"
|
|
evoadmin_username: evoadmin
|
|
|
|
evoadmin_multi_php: False
|
|
evoadmin_enable_vhost: True
|
|
|
|
evoadmin_force_vhost: False
|
|
evoadmin_config_local_php_force: False
|
|
evoadmin_sudoers_conf_force: False
|
|
evoadmin_add_conf_force: False
|
|
evoadmin_mail_tpl_force: True
|
|
evoadmin_htpasswd_force: False
|
|
evoadmin_htpasswd: False
|
|
|
|
evoadmin_tpl_servername: "{{ ansible_fqdn }}"
|
|
evoadmin_tpl_address: "{{ ansible_default_ipv4.address }}"
|
|
evoadmin_tpl_phpmyadmin_url: Null
|
|
evoadmin_tpl_cgi_suffix: Null
|
|
evoadmin_tpl_signature: evoadmin
|
|
evoadmin_tpl_mail_from: root@localhost
|
|
evoadmin_tpl_mail_bcc: Null
|
|
evoadmin_tpl_mail_standard: "{{ general_alert_email }}"
|
|
evoadmin_tpl_mail_urgent: "{{ general_alert_email }}"
|