ansible/roles/ldap_client/tasks/2_userland_scripts.yml

18 lines
352 B
YAML
Raw Permalink Normal View History

---
# Disable passwd and chsh
- name: Copy passwd and chsh scripts
template:
2019-02-19 10:42:57 +01:00
src: "{{ item }}.j2"
dest: /usr/local/bin/{{ item }}
mode: 0755
loop:
2019-02-19 10:42:57 +01:00
- chsh
- passwd
# We do not want password change this way
- name: Symlink chsh.ldap to chsh
file:
2019-02-19 10:42:57 +01:00
src: /usr/local/bin/chsh
dest: /usr/local/bin/chsh.ldap
state: link