Change "|changed" with "is changed"
This commit is contained in:
parent
eded11f88f
commit
27e217467e
|
@ -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
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
- name: Apt update
|
||||
apt:
|
||||
update_cache: yes
|
||||
when: apt_basic_list | changed
|
||||
when: apt_basic_list is changed
|
||||
tags:
|
||||
- apt
|
||||
|
|
|
@ -28,6 +28,6 @@
|
|||
- name: Apt update
|
||||
apt:
|
||||
update_cache: yes
|
||||
when: apt_evolix_public | changed
|
||||
when: apt_evolix_public is changed
|
||||
tags:
|
||||
- apt
|
||||
|
|
|
@ -18,6 +18,6 @@
|
|||
- name: update apt
|
||||
apt:
|
||||
update_cache: yes
|
||||
when: docker_apt_preferences | changed
|
||||
when: docker_apt_preferences is changed
|
||||
tags:
|
||||
- packages
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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…
Reference in a new issue