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

This commit is contained in:
Zuul 2019-11-14 20:47:01 +00:00 committed by Gerrit Code Review
commit 1f65de40ec
2 changed files with 2 additions and 0 deletions
tripleo_ansible/roles/tripleo-container-manage/tasks

@ -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:

@ -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: