ansible/roles/ldap-client/tasks/2_userland_scripts.yml
Hadrien Patte 5f08a7522e
Fix: blank lines and trailing spaces
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-02 12:07:48 +01:00

18 lines
360 B
YAML

---
# Disable passwd and chsh
- name: Copy passwd and chsh scripts
template:
src: "{{ item }}.j2"
dest: "/usr/local/bin/{{ item }}"
mode: 0755
with_items:
- 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