1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

failed_when (#94)

This commit is contained in:
georgejhunt 2017-07-04 13:45:26 -07:00 committed by GitHub
parent c6554cb005
commit 7f80ed0345

View file

@ -5,11 +5,7 @@
- name: abort if the OS is not supported
debug: msg="{{ ansible_local.local_facts.os }} Operating System is not supported"
when: ansible_local.local_facts.os_ver == "OS_not_supported"
# there may be a stop execution, but I did not find it
- pause:
when: ansible_local.local_facts.os_ver == "OS_not_supported"
failed_when: ansible_local.local_facts.os_ver == "OS_not_supported"
- name: get the uuidgen program
package: name=uuid-runtime