1
0
Fork 0

Actually remove become directive in each stanza

This commit is contained in:
Daniele Tricoli 2021-01-06 04:18:37 +01:00
parent 7283ac291f
commit 897d3d7380

View file

@ -7,14 +7,12 @@
state: present
update_cache: true
cache_valid_time: 3600
become: true
- name: set customization.local config file
template:
src: templates/customization.local.j2
dest: /etc/fail2ban/jail.d/customization.local
mode: 0640
become: true
notify: restart fail2ban
- name: set custom sshd filter config file
@ -22,7 +20,6 @@
src: templates/sshd-custom-filter.conf.j2
dest: /etc/fail2ban/filter.d/sshd-custom.conf
mode: 0640
become: true
notify: restart fail2ban
become: "{{ fail2ban_become }}"