66f7b1061a
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
17 lines
352 B
YAML
17 lines
352 B
YAML
---
|
|
# Disable passwd and chsh
|
|
- name: Copy passwd and chsh scripts
|
|
template:
|
|
src: "{{ item }}.j2"
|
|
dest: /usr/local/bin/{{ item }}
|
|
mode: 0755
|
|
loop:
|
|
- chsh
|
|
- passwd
|
|
|
|
# We do not want password change this way
|
|
- name: Symlink chsh.ldap to chsh
|
|
file:
|
|
src: /usr/local/bin/chsh
|
|
dest: /usr/local/bin/chsh.ldap
|
|
state: link
|