on met des templates corrects pour chsh (et chsh.ldap sert à rien)

certbot_on_virtu
Michaël Paulon 2020-05-17 03:58:20 +02:00
parent 22cdae2d0d
commit 4b627c6e75
No known key found for this signature in database
GPG Key ID: 8BC97BC8087051A2
3 changed files with 9 additions and 1 deletions

View File

@ -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:

View File

@ -0,0 +1,4 @@
#!/bin/sh
{{ ansible_header | comment }}
echo "Pour changer votre shell,\nAllez sur l'intranet : {{intranet_url}}"

View File

@ -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."