aboutsummaryrefslogtreecommitdiffstats
path: root/roles/users
diff options
context:
space:
mode:
Diffstat (limited to 'roles/users')
-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: