forked from evolix/ansible-roles
Fix ansible-lint violations
This commit is contained in:
parent
ee21973371
commit
70c93310f9
|
@ -3,8 +3,7 @@
|
||||||
- name: "Set php version to 8.2 (Debian 12)"
|
- name: "Set php version to 8.2 (Debian 12)"
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
php_version: "8.2"
|
php_version: "8.2"
|
||||||
when:
|
when: not (php_sury_enable | bool)
|
||||||
- php_sury_enable == false
|
|
||||||
check_mode: no
|
check_mode: no
|
||||||
|
|
||||||
- name: "Set php config directories (Debian 12)"
|
- name: "Set php config directories (Debian 12)"
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
- name: "Set php version to 7.4 if Sury repo is not enabled"
|
- name: "Set php version to 7.4 if Sury repo is not enabled"
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
php_version: "7.4"
|
php_version: "7.4"
|
||||||
when:
|
when: not (php_sury_enable | bool)
|
||||||
- php_sury_enable == False
|
|
||||||
check_mode: no
|
check_mode: no
|
||||||
|
|
||||||
- name: "Set variables (Debian 11)"
|
- name: "Set variables (Debian 11)"
|
||||||
|
|
|
@ -7,8 +7,7 @@
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
php_version: "7.3"
|
php_version: "7.3"
|
||||||
check_mode: no
|
check_mode: no
|
||||||
when:
|
when: not (php_sury_enable | bool)
|
||||||
- not (php_sury_enable | bool)
|
|
||||||
|
|
||||||
- name: "Set variables (Debian 10)"
|
- name: "Set variables (Debian 10)"
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|
|
@ -25,8 +25,8 @@ galaxy_info:
|
||||||
# alphanumeric characters. Maximum 20 tags per role.
|
# alphanumeric characters. Maximum 20 tags per role.
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- { role: evolix/ldap, ldap_schema: 'cn4evolix.ldif', when: postfix_packmail == True }
|
- { role: evolix/ldap, ldap_schema: 'cn4evolix.ldif', when: postfix_packmail | bool }
|
||||||
- { role: evolix/spamassasin, when: postfix_packmail == True }
|
- { role: evolix/spamassasin, when: postfix_packmail | bool }
|
||||||
- { role: evolix/clamav, when: postfix_packmail == True }
|
- { role: evolix/clamav, when: postfix_packmail | bool }
|
||||||
- { role: evolix/opendkim, when: postfix_packmail == True }
|
- { role: evolix/opendkim, when: postfix_packmail | bool }
|
||||||
- { role: evolix/dovecot, when: postfix_packmail == True }
|
- { role: evolix/dovecot, when: postfix_packmail | bool }
|
||||||
|
|
|
@ -137,7 +137,7 @@
|
||||||
dest: "{{ varnish_config_file }}"
|
dest: "{{ varnish_config_file }}"
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
force: yes
|
force: yes
|
||||||
when: "{{ varnish_update_config }}"
|
when: varnish_update_config | bool
|
||||||
loop: "{{ query('first_found', templates) }}"
|
loop: "{{ query('first_found', templates) }}"
|
||||||
vars:
|
vars:
|
||||||
templates:
|
templates:
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
chdir: "{{ nextcloud_webroot }}"
|
chdir: "{{ nextcloud_webroot }}"
|
||||||
creates: "{{ nextcloud_home }}/config/config.php"
|
creates: "{{ nextcloud_home }}/config/config.php"
|
||||||
become_user: "{{ nextcloud_user }}"
|
become_user: "{{ nextcloud_user }}"
|
||||||
when: (nc_status.stdout | from_json).installed == false
|
when: not ((nc_status.stdout | from_json).installed | bool)
|
||||||
tags:
|
tags:
|
||||||
- nextcloud
|
- nextcloud
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue