Commit b595fd04 authored by nono's avatar nono 💻
Browse files

Ajout de @bastien

parent 7ab55f0a
---
# Fichier de configuration pour un utilisateur par défault
# N'oubliez pas de rajouter la clé **publique** dans le champ "key".
# Complétez là où se trouve les points "..."
- name: Mise en place de l'utilisateur blequerrec
user:
name: blequerrec
password: "{{ vault_blequerrec_password }}"
groups:
- lqdn
- sysadmin
- sudo
state: present
skeleton: files/etc/skel
shell: /bin/bash
system: no
createhome: yes
home: /home/blequerrec
- name: Ajout sa clé SSH
authorized_key:
user: blequerrec
state: present
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHGZu2SGRnfh4Z2V8gCxVRWO23qCyZIMnzomgm7jia7I bastien@kaboom"
comment: "Clé SSH de blequerrec"
key_options: 'environment="SSHCLIENTUSER=blequerrec ",environment="SSHCLIENTLOGINNAME=blequerrec",environment="EDITOR=/usr/bin/vim",environment="GIT_AUTHOR_EMAIL=bq@laquadrature.net",environment="GIT_AUTHOR_NAME=blblequerrec"'
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