From 90cd65e3513b5b6f628a386f9c7db85c458b932d Mon Sep 17 00:00:00 2001 From: ZhijunWei Date: Sun, 15 Jul 2018 21:07:56 -0400 Subject: [PATCH] Remove the unnecessary space Change-Id: Ieda328878ed08b30cec3d01e6d93899c7f7448df --- playbooks/common-tasks/os-lxc-container-setup.yml | 6 +++--- playbooks/common-tasks/os-nspawn-container-setup.yml | 2 +- tests/get-ansible-role-requirements.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/playbooks/common-tasks/os-lxc-container-setup.yml b/playbooks/common-tasks/os-lxc-container-setup.yml index cb76198ceb..afc4d87e18 100644 --- a/playbooks/common-tasks/os-lxc-container-setup.yml +++ b/playbooks/common-tasks/os-lxc-container-setup.yml @@ -87,7 +87,7 @@ changed_when: false delegate_to: "{{ physical_host }}" register: _lxc_container_state - until: _lxc_container_state is success + until: _lxc_container_state is success retries: 3 delay: 5 when: @@ -105,7 +105,7 @@ --logpriority {{ (debug | bool) | ternary('DEBUG', 'INFO') }} delegate_to: "{{ physical_host }}" register: container_stop - until: container_stop is success + until: container_stop is success retries: 3 failed_when: - container_stop.rc not in [0, 2] @@ -126,7 +126,7 @@ --logpriority {{ (debug | bool) | ternary('DEBUG', 'INFO') }} delegate_to: "{{ physical_host }}" register: container_start - until: container_start is success + until: container_start is success retries: 3 when: - (_mc is defined and _mc | changed) or (_ec is defined and _ec | changed) diff --git a/playbooks/common-tasks/os-nspawn-container-setup.yml b/playbooks/common-tasks/os-nspawn-container-setup.yml index 8a6d3acbf3..c7e3cd07ef 100644 --- a/playbooks/common-tasks/os-nspawn-container-setup.yml +++ b/playbooks/common-tasks/os-nspawn-container-setup.yml @@ -109,7 +109,7 @@ name: "systemd-nspawn@{{ systemd_escape.stdout }}" state: restarted register: _container_restart - until: _container_restart is success + until: _container_restart is success retries: 3 delay: 5 delegate_to: "{{ physical_host }}" diff --git a/tests/get-ansible-role-requirements.yml b/tests/get-ansible-role-requirements.yml index bac476b1d6..3c11c767c6 100644 --- a/tests/get-ansible-role-requirements.yml +++ b/tests/get-ansible-role-requirements.yml @@ -73,7 +73,7 @@ map(attribute='item') | list) | default(required_roles, True) }}" register: git_clone - until: git_clone is success + until: git_clone is success retries: "{{ git_clone_retries }}" delay: "{{ git_clone_retry_delay }}"