aboutsummaryrefslogtreecommitdiffstats
path: root/roles/users
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-12-03 20:59:42 +0100
committerEmil Renner Berthing <esmil@labitat.dk>2018-12-03 21:00:21 +0100
commit733fbbb1ff2fbd427ec7ef1955232150f4a9fb5a (patch)
treed68e4efdfd3571397604be51dabf16f22093916d /roles/users
parentc5a9908b712f1fcb1b4ee119dd9242749c8e7fc6 (diff)
downloadlabitat-ansible-733fbbb1ff2fbd427ec7ef1955232150f4a9fb5a.tar.gz
labitat-ansible-733fbbb1ff2fbd427ec7ef1955232150f4a9fb5a.tar.xz
labitat-ansible-733fbbb1ff2fbd427ec7ef1955232150f4a9fb5a.zip
users: esmil: add password
..so I can log in on a serial port and save the day. This is one way to generate the hashed password line: python <<EOF from passlib.hash import sha512_crypt import getpass print(sha512_crypt.using(rounds=5000).hash(getpass.getpass())) EOF
Diffstat (limited to 'roles/users')
-rw-r--r--roles/users/tasks/esmil.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/users/tasks/esmil.yml b/roles/users/tasks/esmil.yml
index 4d8cfa3..7785468 100644
--- a/roles/users/tasks/esmil.yml
+++ b/roles/users/tasks/esmil.yml
@@ -7,6 +7,7 @@
uid: 2000
group: users
groups: '{{ user_groups }}'
+ password: '$6$1RwgF85UfHCIPzNd$Ow9pn9muQ2raoB0andBcrDkB9UqqmXylqWVXDsxgFqhHc5uNk7MZdhtGnz9P5UOSwadEpHkSG0VrP9eOPM8nj0'
- name: esmil - authorized_keys
authorized_key: