Commit ba56beda by James Cammarata

Fix include task using a potentially undefined variable

parent 827f2ff0
......@@ -137,7 +137,7 @@
- name: decide to include or not include selinux tests
include: selinux_tests.yml
when: selinux_installed.stdout != "" and selinux_enabled.stdout != "Disabled"
when: selinux_installed is defined and selinux_installed.stdout != "" and selinux_enabled.stdout != "Disabled"
- name: remote directory foobar
file: path={{output_dir}}/foobar state=absent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment