aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--roles/users/tasks/knielsen.yml16
-rw-r--r--roles/users/tasks/main.yml4
3 files changed, 22 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 0e8b0fe..bee9651 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
*.retry
/secrets.yml
+*~
+.*.swp
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: