This commit is contained in:
parent
4fbc383265
commit
e524225a4a
@ -22,6 +22,6 @@
|
|||||||
state: updated
|
state: updated
|
||||||
module_arguments: "{{ item.module_arguments | default(omit) }}"
|
module_arguments: "{{ item.module_arguments | default(omit) }}"
|
||||||
loop: "{{ pam_settings + pam_settings_extra }}"
|
loop: "{{ pam_settings + pam_settings_extra }}"
|
||||||
when: item.state == "before" or item.state == "after"
|
when: item.state | default("args_present") == "before" or item.state | default("args_present") == "after"
|
||||||
become: True
|
become: True
|
||||||
become_user: root
|
become_user: root
|
||||||
|
Loading…
Reference in New Issue
Block a user