add state to pam users
This commit is contained in:
parent
42e00014c8
commit
f879f6fb2c
@ -11,6 +11,7 @@
|
|||||||
user:
|
user:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
password: "{{ item.password }}"
|
password: "{{ item.password }}"
|
||||||
|
state: "{{ item.state | default('present') }}"
|
||||||
with_items: "{{ postgres_users }}"
|
with_items: "{{ postgres_users }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.name }}"
|
label: "{{ item.name }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user