Browse Source

Change "|changed" with "is changed"

pull/95/head
Jérémy Lecour 2 years ago
committed by Jérémy Lecour
parent
commit
27e217467e
  1. 2
      apt/tasks/backports.yml
  2. 2
      apt/tasks/basics.yml
  3. 2
      apt/tasks/evolix_public.yml
  4. 2
      docker-host/tasks/jessie_backports.yml
  5. 2
      evolinux-base/tasks/system.yml
  6. 2
      haproxy/tasks/packages_backports.yml
  7. 2
      minifirewall/tasks/tail.yml
  8. 2
      mysql-oracle/tasks/packages.yml
  9. 4
      mysql-oracle/tasks/users.yml
  10. 2
      nginx/tasks/packages_backports.yml
  11. 2
      percona/tasks/main.yml
  12. 2
      percona/tasks/xtrabackup.yml
  13. 2
      tomcat-instance/tasks/user.yml

2
apt/tasks/backports.yml

@ -40,6 +40,6 @@
- name: Apt update
apt:
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:
- apt

2
apt/tasks/basics.yml

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

2
apt/tasks/evolix_public.yml

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

2
docker-host/tasks/jessie_backports.yml

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

2
evolinux-base/tasks/system.yml

@ -22,7 +22,7 @@
- name: Reconfigure locales
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
timezone:

2
haproxy/tasks/packages_backports.yml

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

2
minifirewall/tasks/tail.yml

@ -36,7 +36,7 @@
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"
when:
- minifirewall_tail_template | changed
- minifirewall_tail_template is changed
- minifirewall_restart_if_needed
- name: restart minifirewall (noop)

2
mysql-oracle/tasks/packages.yml

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

4
mysql-oracle/tasks/users.yml

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

2
nginx/tasks/packages_backports.yml

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

2
percona/tasks/main.yml

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

2
percona/tasks/xtrabackup.yml

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

2
tomcat-instance/tasks/user.yml

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

Loading…
Cancel
Save