ansible-firewalld-role icon indicating copy to clipboard operation
ansible-firewalld-role copied to clipboard

set firewalld default zone fails when default_zone not set

Open goniomdq opened this issue 4 years ago • 1 comments

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:

  1. If default zone isn't 'public' it would be changed to public;
  2. If default zone is 'public', it won't do anything.

goniomdq avatar Sep 06 '20 22:09 goniomdq

@goniomdq Thank you for this issue,I'll check and fix it.

FlatKey avatar Dec 18 '20 23:12 FlatKey