Skip to content
Permalink
Browse files

[debops.ferm] Make sure role works without Avahi

In case that the 'debops.avahi' Ansible local facts are not present,
make sure that the 'debops.ferm' role still works when Avahi support is
detected.
  • Loading branch information...
drybjed committed Aug 12, 2019
1 parent 9fac42a commit d6bd1ac4f2102db6a8cc5383dd4038ae3a5f4021
Showing with 1 addition and 1 deletion.
  1. +1 −1 ansible/roles/debops.ferm/defaults/main.yml
@@ -522,7 +522,7 @@ ferm__default_rules:
"mdns4_minimal" in q("flattened",
ansible_local.nsswitch.conf.hosts|d([]))) and
(ansible_local|d(True) and ansible_local.avahi|d(True) and
(ansible_local.avahi.enabled|d(True))|bool))
((ansible_local["avahi"]|d({})).enabled|d(True))|bool))
else "absent" }}'

- name: 'jump_to_legacy_input_rules'

0 comments on commit d6bd1ac

Please sign in to comment.
You can’t perform that action at this time.