ansible-firewalld-role
ansible-firewalld-role copied to clipboard
set firewalld default zone fails when default_zone not set
set firewalld default zone fails when default_zone not set because of the conditional: when: defaultzone.stdout != default_zone
I suggest removing the conditional altogether, as well as task "get actual firewalld default zone", since removing these would produce the same effect:
- If default zone isn't 'public' it would be changed to public;
- If default zone is 'public', it won't do anything.
@goniomdq Thank you for this issue,I'll check and fix it.