Change "|changed" with "is changed"
This commit is contained in:
parent
eded11f88f
commit
27e217467e
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue