Actually remove become directive in each stanza
This commit is contained in:
parent
7283ac291f
commit
897d3d7380
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in a new issue