Change "|changed" with "is changed"

This commit is contained in:
Jérémy Lecour 2019-12-31 15:34:48 +01:00 committed by Jérémy Lecour
parent eded11f88f
commit 27e217467e
13 changed files with 14 additions and 14 deletions

View File

@ -40,6 +40,6 @@
- name: Apt update - name: Apt update
apt: apt:
update_cache: yes update_cache: yes
when: apt_backports_list | changed or apt_backports_config | changed when: apt_backports_list is changed or apt_backports_config is changed
tags: tags:
- apt - apt

View File

@ -27,6 +27,6 @@
- name: Apt update - name: Apt update
apt: apt:
update_cache: yes update_cache: yes
when: apt_basic_list | changed when: apt_basic_list is changed
tags: tags:
- apt - apt

View File

@ -28,6 +28,6 @@
- name: Apt update - name: Apt update
apt: apt:
update_cache: yes update_cache: yes
when: apt_evolix_public | changed when: apt_evolix_public is changed
tags: tags:
- apt - apt

View File

@ -18,6 +18,6 @@
- name: update apt - name: update apt
apt: apt:
update_cache: yes update_cache: yes
when: docker_apt_preferences | changed when: docker_apt_preferences is changed
tags: tags:
- packages - packages

View File

@ -22,7 +22,7 @@
- name: Reconfigure locales - name: Reconfigure locales
command: /usr/sbin/locale-gen command: /usr/sbin/locale-gen
when: evolinux_system_locales and default_locales | changed when: evolinux_system_locales and default_locales is changed
- name: Setting default timezone - name: Setting default timezone
timezone: timezone:

View File

@ -21,7 +21,7 @@
- name: update apt - name: update apt
apt: apt:
update_cache: yes update_cache: yes
when: haproxy_apt_preferences | changed when: haproxy_apt_preferences is changed
tags: tags:
- haproxy - haproxy
- packages - packages

View File

@ -36,7 +36,7 @@
failed_when: "'starting IPTables rules is now finish : OK' not in minifirewall_init_restart.stdout" failed_when: "'starting IPTables rules is now finish : OK' not in minifirewall_init_restart.stdout"
changed_when: "'starting IPTables rules is now finish : OK' in minifirewall_init_restart.stdout" changed_when: "'starting IPTables rules is now finish : OK' in minifirewall_init_restart.stdout"
when: when:
- minifirewall_tail_template | changed - minifirewall_tail_template is changed
- minifirewall_restart_if_needed - minifirewall_restart_if_needed
- name: restart minifirewall (noop) - name: restart minifirewall (noop)

View File

@ -66,7 +66,7 @@
- name: APT cache is up-to-date - name: APT cache is up-to-date
apt: apt:
update_cache: yes update_cache: yes
when: mysql_apt_config_deb | changed when: mysql_apt_config_deb is changed
- name: Install MySQL packages - name: Install MySQL packages
apt: apt:

View File

@ -39,7 +39,7 @@
with_items: with_items:
- { option: 'user', value: 'mysqladmin' } - { option: 'user', value: 'mysqladmin' }
- { option: 'password', value: '{{ mysql_admin_password.stdout }}' } - { option: 'password', value: '{{ mysql_admin_password.stdout }}' }
when: create_mysqladmin_user | changed when: create_mysqladmin_user is changed
tags: tags:
- mysql - mysql
@ -76,7 +76,7 @@
- [ { option: 'user', value: 'debian-sys-maint' }, - [ { option: 'user', value: 'debian-sys-maint' },
{ option: 'password', value: '{{ mysql_debian_password.stdout }}' } { option: 'password', value: '{{ mysql_debian_password.stdout }}' }
] ]
when: create_debian_user | changed when: create_debian_user is changed
tags: tags:
- mysql - mysql

View File

@ -21,7 +21,7 @@
- name: update apt - name: update apt
apt: apt:
update_cache: yes update_cache: yes
when: nginx_apt_preferences | changed when: nginx_apt_preferences is changed
tags: tags:
- nginx - nginx
- packages - packages

View File

@ -39,7 +39,7 @@
- name: APT cache is up-to-date - name: APT cache is up-to-date
apt: apt:
update_cache: yes update_cache: yes
when: percona__apt_config_deb | changed when: percona__apt_config_deb is changed
- include: xtrabackup.yml - include: xtrabackup.yml
when: percona__install_xtrabackup when: percona__install_xtrabackup

View File

@ -8,7 +8,7 @@
- name: APT cache is up-to-date - name: APT cache is up-to-date
apt: apt:
update_cache: yes update_cache: yes
# when: percona__release_enable_tools | changed # when: percona__release_enable_tools is changed
- name: Percona XtraBackup package is installed - name: Percona XtraBackup package is installed
apt: apt:

View File

@ -37,7 +37,7 @@
- name: Run newaliases - name: Run newaliases
command: newaliases command: newaliases
when: tomcat_instance_mail_alias | changed when: tomcat_instance_mail_alias is changed
- name: Enable sudo right - name: Enable sudo right
lineinfile: lineinfile: