Remove recurse on fail2ban custom directory
Molecule idempotence test
This commit is contained in:
parent
34c2668912
commit
68c5d4e9f7
|
@ -202,7 +202,6 @@
|
||||||
path: "{{ nft__service_override_path | dirname }}"
|
path: "{{ nft__service_override_path | dirname }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
recurse: yes
|
|
||||||
when:
|
when:
|
||||||
- nft_enabled|bool
|
- nft_enabled|bool
|
||||||
- nft_service_manage|bool
|
- nft_service_manage|bool
|
||||||
|
@ -228,7 +227,6 @@
|
||||||
path: "{{ nft__fail2ban_service_unit_path | dirname }}"
|
path: "{{ nft__fail2ban_service_unit_path | dirname }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
recurse: yes
|
|
||||||
when:
|
when:
|
||||||
- nft_enabled|bool
|
- nft_enabled|bool
|
||||||
- nft_service_manage|bool
|
- nft_service_manage|bool
|
||||||
|
|
Loading…
Reference in New Issue