Fix retrieving variable from inside ansible_facts[]

Do not use the dot notation.

Change-Id: Iab7c31624dc0e9b20ff70fd55bbd2bf1091ba857
This commit is contained in:
Jonathan Rosser 2021-03-16 17:34:55 +00:00 committed by Dmitriy Rabotyagov
parent 357daad5c8
commit abafc878c2

View File

@ -56,4 +56,4 @@
notify:
- Reload haproxy
when:
- ansible_facts['selinux'].status == "enabled"
- ansible_facts['selinux']['status'] == "enabled"