Add ignore_errors for fail2ban in check mode (service not yet installed)
This commit is contained in:
@@ -50,6 +50,7 @@
|
|||||||
name: fail2ban
|
name: fail2ban
|
||||||
state: started
|
state: started
|
||||||
enabled: true
|
enabled: true
|
||||||
|
ignore_errors: "{{ ansible_check_mode }}"
|
||||||
tags: [common, security]
|
tags: [common, security]
|
||||||
|
|
||||||
- name: Set vm.swappiness
|
- name: Set vm.swappiness
|
||||||
|
|||||||
Reference in New Issue
Block a user