Hi guys!

I want't to change my default umask to 027 by using Ansible pamd module.
I was write a playbook for this. But changes are not made. What i'm do 
wrong ?

---
- name: Update pamd rule's control in /etc/pam.d/common-session
  become: 'yes'
  become_method: sudo
  pamd:
    name: common-session
    type: session
    control: optional
    module_path: pam_umask.so
    module_arguments: 'umask=0027'
    state: args_present
...



-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/84726726-0525-43e9-8030-304bbddb61eb%40googlegroups.com.

Reply via email to