Closed agajic-modoolar closed 4 years ago
Replace ignore_errors: true
with failed_when: false
for this task.
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
Hello,
I decided to set
firewall_disable_ufw
flag to disable UFW, but repeating task causes fatal error. I was wondering, couldservice_facts
module be used to determine if ufw exists, and to disable it if so? I'm Ansible beginner, but it seems a bit ugly to have fatal fails, even though they are ignored. Am I missing something here? I'm using Ansible 2.9.7