on met des templates corrects pour chsh (et chsh.ldap sert à rien)
parent
22cdae2d0d
commit
4b627c6e75
|
@ -36,7 +36,7 @@
|
|||
# Disable passwd and chsh
|
||||
- name: Copy passwd and chsh scripts
|
||||
template:
|
||||
src: bin/passwd.j2
|
||||
src: "bin/{{ item }}.j2"
|
||||
dest: "/usr/local/bin/{{ item }}"
|
||||
mode: 0755
|
||||
loop:
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
{{ ansible_header | comment }}
|
||||
echo "Pour changer votre shell,\nAllez sur l'intranet : {{intranet_url}}"
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
{{ ansible_header | comment }}
|
||||
echo "Pour changer votre shell,\nAllez sur l'intranet : {{intranet_url}}"
|
||||
echo "De toutes façons la vraie commande aurait pas marché, on installe pas nslcd-utils sur les serveurs normalement."
|
Loading…
Reference in New Issue