diff --git a/content/slides/cri/md/ansible.md b/content/slides/cri/md/ansible.md index d130418793e35a0e8dc938fb8adc7866cc845a5f..092643a1154e2ff5c5113576d2126f9cd93db28f 100644 --- a/content/slides/cri/md/ansible.md +++ b/content/slides/cri/md/ansible.md @@ -424,6 +424,8 @@ ignore_errors: True [<i class="fa fa-book" aria-hidden="true"></i> when](https://docs.ansible.com/ansible/latest/user_guide/playbooks_conditionals.html) + * If a task fails or is skipped, **the variable still is registered with a failure or skipped status** + [<i class="fa fa-book" aria-hidden="true"></i> conditions](https://docs.ansible.com/ansible/latest/user_guide/playbooks_tests.html) ```yaml @@ -431,7 +433,6 @@ ignore_errors: True when: ansible_facts['os_family'] == "RedHat" and ansible_facts['lsb']['major_release']|int >= 6 ``` - ## [<i class="fa fa-book" aria-hidden="true"></i> set_fact](https://docs.ansible.com/ansible/latest/modules/set_fact_module.html) & pre_task ```yaml