Remove the unnecessary space

Change-Id: Id70a5d6c9a6fbd8733a211ab9f6963d1f672a78a
This commit is contained in:
kaiokassiano 2018-07-30 12:29:07 -03:00
parent fddfad4cc2
commit 1cea6fca84
9 changed files with 17 additions and 17 deletions

View File

@ -75,7 +75,7 @@
environment:
MYSQLD_STARTUP_TIMEOUT: 180
register: galera_restart
until: galera_restart is success
until: galera_restart is success
retries: 6
delay: 5
delegate_to: "{{ item }}"

View File

@ -29,7 +29,7 @@
loop_control:
loop_var: key
register: _add_apt_keys
until: _add_apt_keys is success
until: _add_apt_keys is success
retries: 5
delay: 2
@ -81,7 +81,7 @@
when:
- add_galera_repo | changed or add_percona_repo is changed
register: update_apt_cache
until: update_apt_cache is success
until: update_apt_cache is success
retries: 5
delay: 2

View File

@ -42,7 +42,7 @@
loop_control:
loop_var: key
register: _add_yum_keys
until: _add_yum_keys is success
until: _add_yum_keys is success
retries: 5
delay: 2
@ -55,7 +55,7 @@
gpgcheck: yes
enabled: yes
register: add_repos
until: add_repos is success
until: add_repos is success
retries: 5
delay: 2
@ -68,7 +68,7 @@
command: "{{ ansible_pkg_mgr }} clean metadata"
args:
warn: no
when: add_repos is changed
when: add_repos is changed
tags:
- skip_ansible_lint

View File

@ -29,7 +29,7 @@
validate_certs: "{{ galera_server_extra_package_validate_certs }}"
with_dict: "{{ galera_server_percona_distro_packages_alt_arch }}"
register: fetch_url
until: fetch_url is success
until: fetch_url is success
retries: 3
delay: 10
delegate_to: "{{ (galera_server_extra_package_downloader == 'deployment-host') | ternary('localhost', inventory_hostname) }}"
@ -42,6 +42,6 @@
when:
- galera_server_extra_package_downloader == "deployment-host"
register: file_copy
until: file_copy is success
until: file_copy is success
retries: 5
delay: 10

View File

@ -42,7 +42,7 @@
loop_control:
loop_var: key
register: _add_yum_keys
until: _add_yum_keys is success
until: _add_yum_keys is success
retries: 5
delay: 2
@ -55,7 +55,7 @@
gpgcheck: yes
enabled: yes
register: add_repos
until: add_repos is success
until: add_repos is success
retries: 5
delay: 2
@ -68,7 +68,7 @@
command: "{{ ansible_pkg_mgr }} clean metadata"
args:
warn: no
when: add_repos is changed
when: add_repos is changed
tags:
- skip_ansible_lint

View File

@ -41,7 +41,7 @@
loop_control:
loop_var: key
register: _add_yum_keys
until: _add_yum_keys is success
until: _add_yum_keys is success
retries: 5
delay: 2
@ -59,7 +59,7 @@
auto_import_keys: no
enabled: yes
register: add_repos
until: add_repos is success
until: add_repos is success
retries: 5
delay: 2

View File

@ -48,7 +48,7 @@
priv: "*.*:USAGE"
state: present
register: galera_users
until: galera_users is success
until: galera_users is success
retries: 3
delay: 10
delegate_to: "{{ galera_server_bootstrap_node }}"
@ -60,7 +60,7 @@
register: galera_mysql_upgrade
changed_when:
- not galera_mysql_upgrade.stdout | search("already upgraded")
until: galera_mysql_upgrade is success
until: galera_mysql_upgrade is success
retries: 3
delay: 10
delegate_to: "{{ galera_server_bootstrap_node }}"

View File

@ -70,7 +70,7 @@
-in {{ galera_ssl_key }}
-out {{ galera_ssl_key }}
when:
- create_galera_ssl_request is changed
- create_galera_ssl_request is changed
- inventory_hostname == galera_server_bootstrap_node
notify: Restart all mysql

View File

@ -18,7 +18,7 @@
name: mysql
state: stopped
register: galera_restart_fall_back
until: galera_restart_fall_back is success
until: galera_restart_fall_back is success
retries: 3
delay: 5