tripleo-container-manage: skip some tasks in check mode

Change-Id: I5e68fdb2d872c741f00a1a24bac33112ba630f69
This commit is contained in:
Emilien Macchi 2019-11-08 11:03:28 +01:00
parent 80e0476f78
commit f506dd6994
2 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@
- name: Generate containers configs data
no_log: "{{ false if tripleo_container_manage_debug else true }}"
when: not ansible_check_mode|bool
block:
- name: "Find all matching configs configs for in {{ tripleo_container_manage_config }}"
find:

View File

@ -19,6 +19,7 @@
loop: "{{ batched_container_data | haskey(attribute='action', value='exec') }}"
loop_control:
loop_var: container_exists_data
when: not ansible_check_mode|bool
- name: "Run actions async"
command: