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:
parent
827f2ff0ac
commit
ba56beda90
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue