aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorKristian Nielsen <knielsen@knielsen-hq.org>2017-11-26 14:51:20 +0100
committerEmil Renner Berthing <github@esmil.dk>2017-11-26 14:56:55 +0100
commit9d37c64f20d13f211f4c861aaef009c0adc6b9ed (patch)
tree7aba0809c7a075498c24e8f71a4e474d07ac8e1f /roles
parent488d7ca47601d4976dbda00c7b6e19f670fc4149 (diff)
downloadlabitat-ansible-9d37c64f20d13f211f4c861aaef009c0adc6b9ed.tar.gz
labitat-ansible-9d37c64f20d13f211f4c861aaef009c0adc6b9ed.tar.xz
labitat-ansible-9d37c64f20d13f211f4c861aaef009c0adc6b9ed.zip
users: knielsen: added
Diffstat (limited to 'roles')
-rw-r--r--roles/users/tasks/knielsen.yml16
-rw-r--r--roles/users/tasks/main.yml4
2 files changed, 20 insertions, 0 deletions
diff --git a/roles/users/tasks/knielsen.yml b/roles/users/tasks/knielsen.yml
new file mode 100644
index 0000000..cd0a795
--- /dev/null
+++ b/roles/users/tasks/knielsen.yml
@@ -0,0 +1,16 @@
+---
+- name: knielsen
+ user:
+ comment: 'Kristian Nielsen'
+ name: knielsen
+ uid: 1004
+ group: users
+ groups:
+ - wheel
+
+- name: knielsen - authorized_keys
+ authorized_key:
+ user: knielsen
+ key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKUAYFshLA2BvcTrKjW90lDjIQkCJ16+uIjfKqB0HDk/ knielsen@urd'
+
+# vim: set ts=2 sw=2 et:
diff --git a/roles/users/tasks/main.yml b/roles/users/tasks/main.yml
index 4e303ca..b334014 100644
--- a/roles/users/tasks/main.yml
+++ b/roles/users/tasks/main.yml
@@ -15,5 +15,9 @@
tags:
- users
- riiiis
+- import_tasks: knielsen.yml
+ tags:
+ - users
+ - knielsen
# vim: set ts=2 sw=2 et: