Fix XML comments.
This commit is contained in:
parent
2d6f1973bd
commit
5f59910cf2
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
||||||
- name: Configure pam_mount
|
- name: Configure pam_mount
|
||||||
blockinfile:
|
blockinfile:
|
||||||
dest: /etc/security/pam_mount.conf.xml
|
dest: /etc/security/pam_mount.conf.xml
|
||||||
|
marker: "<!-- {mark} ANSIBLE MANAGED BLOCK" -->
|
||||||
block: |
|
block: |
|
||||||
<volume
|
<volume
|
||||||
fstype="cifs"
|
fstype="cifs"
|
||||||
|
@ -52,7 +53,7 @@
|
||||||
ansible.builtin.replace:
|
ansible.builtin.replace:
|
||||||
path: /etc/security/pam_mount.conf.xml
|
path: /etc/security/pam_mount.conf.xml
|
||||||
regexp: '^(<logout wait="0" hup="no" term="no" kill="no" />)$'
|
regexp: '^(<logout wait="0" hup="no" term="no" kill="no" />)$'
|
||||||
replace: '#\1\n<logout wait="1000" hup="yes" term="yes" kill="yes" />'
|
replace: '<!-- \1 -->\n<logout wait="1000" hup="yes" term="yes" kill="yes" />'
|
||||||
|
|
||||||
- name: Kill all user processes on logout
|
- name: Kill all user processes on logout
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
|
|
Loading…
Add table
Reference in a new issue