From 86e727eeb8d271d8b00749b9cffb16b5c21fbe83 Mon Sep 17 00:00:00 2001 From: Quentin Date: Wed, 8 Jul 2020 09:21:06 +0200 Subject: Add max as admin --- ansible/roles/users/files/erwan-key1.pub | 1 - ansible/roles/users/files/maximilien-key1.pub | 1 + ansible/roles/users/files/valentin-key1.pub | 1 - ansible/roles/users/vars/main.yml | 5 +++++ 4 files changed, 6 insertions(+), 2 deletions(-) delete mode 100644 ansible/roles/users/files/erwan-key1.pub create mode 100644 ansible/roles/users/files/maximilien-key1.pub delete mode 100644 ansible/roles/users/files/valentin-key1.pub (limited to 'ansible') diff --git a/ansible/roles/users/files/erwan-key1.pub b/ansible/roles/users/files/erwan-key1.pub deleted file mode 100644 index 450e79f..0000000 --- a/ansible/roles/users/files/erwan-key1.pub +++ /dev/null @@ -1 +0,0 @@ -ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ/p26O7UY7D2y6ZshqmywNf0YD90KYWT4Z9DvpgZj3iLh9o/QL7XIYT/qHYPaEBXZJOdMaZRLmdxVlybKCE0KU= Arm0nius@armonius diff --git a/ansible/roles/users/files/maximilien-key1.pub b/ansible/roles/users/files/maximilien-key1.pub new file mode 100644 index 0000000..963b1f9 --- /dev/null +++ b/ansible/roles/users/files/maximilien-key1.pub @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHMMR6zNzz8NQU80wFquhUCeiXJuGphjP+zNouKbn228GyESu8sfNBwnuZq86vblR11Lz8l2rtCM73GfAKg29qmUWUHRKWvRIYWv2vaUJcCdy0bAxIzcvCvjZX0SpnIKxe9y3Rp0LGO5WLYfw0ZFaavwFZP0Z8w1Kj9/zBmL2X2avbhkaYHi/C1yXhbvESYQysmqLa48EX/TS616MBrgR9zbI9AoTQ9NOHnR14Tve/AP/khcZoBJdm4hTttMbNkEc0wonzdylTDew263SPRs/uoqnQIpUtErdPHqU10Yup8HjXjEyFJsSwcZcM5sZOw5JKckKJwmcd0yjO/x/4/Mk5 diff --git a/ansible/roles/users/files/valentin-key1.pub b/ansible/roles/users/files/valentin-key1.pub deleted file mode 100644 index 26026d1..0000000 --- a/ansible/roles/users/files/valentin-key1.pub +++ /dev/null @@ -1 +0,0 @@ -ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLsa6M4gYCXxEnv4SY24I1Yixv9okhTlDChxr27WLsLEpKt8AX2Q456ip2o3hCe3FbyD3vnliObKsG0/QXHV7Sw= valentin@linux.home diff --git a/ansible/roles/users/vars/main.yml b/ansible/roles/users/vars/main.yml index 20a4da6..aa3ee94 100644 --- a/ansible/roles/users/vars/main.yml +++ b/ansible/roles/users/vars/main.yml @@ -12,6 +12,11 @@ active_users: - 'alex-key1.pub' - 'alex-key2.pub' + - username: 'maximilien' + is_admin: true + ssh_keys: + - 'maximilien-key1.pub' + disabled_users: - 'john.doe' - 'erwan' -- cgit v1.2.3