Remove the unnecessary space

Change-Id: Ieda328878ed08b30cec3d01e6d93899c7f7448df
This commit is contained in:
ZhijunWei 2018-07-15 21:07:56 -04:00
parent 491a100278
commit 90cd65e351
3 changed files with 5 additions and 5 deletions

View File

@ -87,7 +87,7 @@
changed_when: false changed_when: false
delegate_to: "{{ physical_host }}" delegate_to: "{{ physical_host }}"
register: _lxc_container_state register: _lxc_container_state
until: _lxc_container_state is success until: _lxc_container_state is success
retries: 3 retries: 3
delay: 5 delay: 5
when: when:
@ -105,7 +105,7 @@
--logpriority {{ (debug | bool) | ternary('DEBUG', 'INFO') }} --logpriority {{ (debug | bool) | ternary('DEBUG', 'INFO') }}
delegate_to: "{{ physical_host }}" delegate_to: "{{ physical_host }}"
register: container_stop register: container_stop
until: container_stop is success until: container_stop is success
retries: 3 retries: 3
failed_when: failed_when:
- container_stop.rc not in [0, 2] - container_stop.rc not in [0, 2]
@ -126,7 +126,7 @@
--logpriority {{ (debug | bool) | ternary('DEBUG', 'INFO') }} --logpriority {{ (debug | bool) | ternary('DEBUG', 'INFO') }}
delegate_to: "{{ physical_host }}" delegate_to: "{{ physical_host }}"
register: container_start register: container_start
until: container_start is success until: container_start is success
retries: 3 retries: 3
when: when:
- (_mc is defined and _mc | changed) or (_ec is defined and _ec | changed) - (_mc is defined and _mc | changed) or (_ec is defined and _ec | changed)

View File

@ -109,7 +109,7 @@
name: "systemd-nspawn@{{ systemd_escape.stdout }}" name: "systemd-nspawn@{{ systemd_escape.stdout }}"
state: restarted state: restarted
register: _container_restart register: _container_restart
until: _container_restart is success until: _container_restart is success
retries: 3 retries: 3
delay: 5 delay: 5
delegate_to: "{{ physical_host }}" delegate_to: "{{ physical_host }}"

View File

@ -73,7 +73,7 @@
map(attribute='item') | list) map(attribute='item') | list)
| default(required_roles, True) }}" | default(required_roles, True) }}"
register: git_clone register: git_clone
until: git_clone is success until: git_clone is success
retries: "{{ git_clone_retries }}" retries: "{{ git_clone_retries }}"
delay: "{{ git_clone_retry_delay }}" delay: "{{ git_clone_retry_delay }}"