From 9d89be45a7eff47b619b86f7ed649c8f890ef58d Mon Sep 17 00:00:00 2001 From: zhulingjie Date: Wed, 11 Jul 2018 23:19:01 -0400 Subject: [PATCH] Remove the unnecessary space Change-Id: I1cd0f166eec5444f116410c1deaad92345824cb1 --- handlers/main.yml | 2 +- tasks/lxc_container_config.yml | 2 +- tasks/lxc_container_create.yml | 4 ++-- tests/test-containers-functional.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/handlers/main.yml b/handlers/main.yml index 0a080f3..1c7467b 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -44,7 +44,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 listen: Lxc container restart diff --git a/tasks/lxc_container_config.yml b/tasks/lxc_container_config.yml index ae484f6..026033c 100644 --- a/tasks/lxc_container_config.yml +++ b/tasks/lxc_container_config.yml @@ -94,7 +94,7 @@ args: creates: "/var/lib/lxc/{{ inventory_hostname }}/setup.complete" register: container_extra_commands - until: container_extra_commands is success + until: container_extra_commands is success retries: 5 delay: 2 delegate_to: "{{ physical_host }}" diff --git a/tasks/lxc_container_create.yml b/tasks/lxc_container_create.yml index 1072a78..a73ba46 100644 --- a/tasks/lxc_container_create.yml +++ b/tasks/lxc_container_create.yml @@ -41,7 +41,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 @@ -57,7 +57,7 @@ --logpriority {{ (debug | bool) | ternary('DEBUG', 'INFO') }} delegate_to: "{{ physical_host }}" register: _lxc_container_create - until: _lxc_container_create is success + until: _lxc_container_create is success retries: 3 delay: 5 when: diff --git a/tests/test-containers-functional.yml b/tests/test-containers-functional.yml index ace1253..e45cb2b 100644 --- a/tests/test-containers-functional.yml +++ b/tests/test-containers-functional.yml @@ -145,7 +145,7 @@ command: "lxc-start -d -n container3" register: container_start changed_when: container_start.rc == 0 - until: container_start is success + until: container_start is success retries: 3 delay: 2