forked from evolix/ansible-roles
Fix condition check mistakes in templates
This commit is contained in:
parent
8cb604aa93
commit
6d3eaf891c
|
@ -10,6 +10,6 @@ $localconf['cluster'] = FALSE;
|
|||
$oriconf['logins'] = array();
|
||||
//$oriconf['logins']['foo'] = 'd5d3c723fb82cb0078f399888af78204234535ec2ef3da56710fdd51f90d2477';
|
||||
//$oriconf['logins']['bar'] = '7938c84d6e43d1659612a7ea7c1101ed02e52751bb64597a8c20ebaba8ba4303';
|
||||
{% if evoadmin_multi_php == "True" %}
|
||||
{% if evoadmin_multi_php == True %}
|
||||
$localconf['php_versions'] = array(56, 70, 73);
|
||||
{% endif %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
User_Alias EVOADMIN = www-evoadmin
|
||||
Cmnd_Alias EVOADMIN_WEB = {{ evoadmin_scripts_dir | mandatory }}/web-*.sh, {{ evoadmin_scripts_dir | mandatory }}/ftpadmin.sh, {{ evoadmin_scripts_dir | mandatory }}/dbadmin.sh
|
||||
EVOADMIN ALL=NOPASSWD: EVOADMIN_WEB
|
||||
{% if evoadmin_multi_php == "True" %}
|
||||
{% if evoadmin_multi_php == True %}
|
||||
Defaults env_keep += "LOGNAME PWD"
|
||||
ALL ALL = NOPASSWD: /usr/local/bin/phpContainer
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue