Skip to content
Snippets Groups Projects
Commit 6bed78b9 authored by Vincent Mazenod's avatar Vincent Mazenod
Browse files

ansible

parent f2f419f5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment