1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix include task using a potentially undefined variable

This commit is contained in:
James Cammarata 2015-07-29 15:49:29 -04:00
parent 827f2ff0ac
commit ba56beda90

View file

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