xoxys.pam/tasks/pam.yml
Robert Kaussow a44b1b370e
All checks were successful
continuous-integration/drone/push Build is passing
initial commit
2019-11-06 20:26:03 +01:00

13 lines
458 B
YAML

---
- name: Set pam module configuration
pamd:
name: "{{ item.name | default('system-auth') }}"
type: "{{ item.type | default('auth') }}"
module_path: "{{ item.module_path | default('pam_unix.so') }}"
control: "{{ item.control }}"
module_arguments: "{{ item.module_arguments | default(omit) }}"
state: "{{ item.state | default('args_present') }}"
loop: "{{ pam_settings + pam_settings_extra }}"
become: True
become_user: root