rename backup-server-state to dump-server-state #150

Closed
gcolpart wants to merge 518 commits from unstable into rename-backup-server-state
9 changed files with 13 additions and 16 deletions
Showing only changes of commit 70c93310f9 - Show all commits

View file

@ -27,4 +27,4 @@ galaxy_info:
allow_duplicates: yes
dependencies: []
dependencies: []

View file

@ -11,7 +11,7 @@
# - ansible_distribution_release == "bookworm"
# - mongodb_version is version('5.0', '<')
- name: Add MongoDB repository
- name: Add MongoDB repository
ansible.builtin.template:
src: mongodb.sources.j2
dest: /etc/apt/sources.list.d/mongodb.sources

View file

@ -3,8 +3,7 @@
- name: "Set php version to 8.2 (Debian 12)"
ansible.builtin.set_fact:
php_version: "8.2"
when:
- php_sury_enable == false
when: not (php_sury_enable | bool)
check_mode: no
- name: "Set php config directories (Debian 12)"

View file

@ -3,8 +3,7 @@
- name: "Set php version to 7.4 if Sury repo is not enabled"
ansible.builtin.set_fact:
php_version: "7.4"
when:
- php_sury_enable == False
when: not (php_sury_enable | bool)
check_mode: no
- name: "Set variables (Debian 11)"

View file

@ -7,8 +7,7 @@
ansible.builtin.set_fact:
php_version: "7.3"
check_mode: no
when:
- not (php_sury_enable | bool)
when: not (php_sury_enable | bool)
- name: "Set variables (Debian 10)"
ansible.builtin.set_fact:

View file

@ -25,8 +25,8 @@ galaxy_info:
# alphanumeric characters. Maximum 20 tags per role.
dependencies:
- { role: evolix/ldap, ldap_schema: 'cn4evolix.ldif', when: postfix_packmail == True }
- { role: evolix/spamassasin, when: postfix_packmail == True }
- { role: evolix/clamav, when: postfix_packmail == True }
- { role: evolix/opendkim, when: postfix_packmail == True }
- { role: evolix/dovecot, when: postfix_packmail == True }
- { role: evolix/ldap, ldap_schema: 'cn4evolix.ldif', when: postfix_packmail | bool }
- { role: evolix/spamassasin, when: postfix_packmail | bool }
- { role: evolix/clamav, when: postfix_packmail | bool }
- { role: evolix/opendkim, when: postfix_packmail | bool }
- { role: evolix/dovecot, when: postfix_packmail | bool }

View file

@ -21,7 +21,7 @@
- name: make sure a service Mailgraph is running
ansible.builtin.systemd:
name: mailgraph.service
state: started
state: started
enabled: true
- name: create packmail main.cf

View file

@ -137,7 +137,7 @@
dest: "{{ varnish_config_file }}"
mode: "0644"
force: yes
when: "{{ varnish_update_config }}"
when: varnish_update_config | bool
loop: "{{ query('first_found', templates) }}"
vars:
templates:

View file

@ -36,7 +36,7 @@
chdir: "{{ nextcloud_webroot }}"
creates: "{{ nextcloud_home }}/config/config.php"
become_user: "{{ nextcloud_user }}"
when: (nc_status.stdout | from_json).installed == false
when: not ((nc_status.stdout | from_json).installed | bool)
tags:
- nextcloud