Commit 9da2e730 authored by nono's avatar nono 💻
Browse files

Ajout d'une variable pour l'utilisateur nono

parent 38c55dec
......@@ -5,6 +5,7 @@
- name: Mise en place de l'utilisateur nono
user:
name: nono
password: "{{ vault_nono_password }}"
groups:
- lqdn
- sysadmin
......@@ -25,4 +26,4 @@
state: present
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII693UdcBYZro4txl80hOzgZ1WH09cYeAqdRf0Asel59 n07070@rosa-reborn"
comment: "Clé SSH de Nono"
key_options: 'environment="SSHCLIENTUSER=Nono ",environment="SSHCLIENTLOGINNAME=nono"'
key_options: 'environment="SSHCLIENTUSER=Nono ",environment="SSHCLIENTLOGINNAME=nono" command="(echo "Nouvelle connexion de $(whoami) sur $(hostname) à $(date)." | mail -s "Nouvelle connexion sur $(hostname)" sysadmin@laquadrature.net)"'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment