aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRené Mikkelsen <rene.mikkelsen@gmail.com>2018-01-11 19:47:58 +0100
committerEmil Renner Berthing <esmil@labitat.dk>2018-01-12 13:09:34 +0100
commite5fb2f5868510e2e0280c3bd90e889f7d2f4ca00 (patch)
tree1be22fdd08b505f1eb6680e335a15599e4031be4
parent2d4c5784bb8510ca2f8784ebbf70bfba689cba7e (diff)
downloadlabitat-ansible-e5fb2f5868510e2e0280c3bd90e889f7d2f4ca00.tar.gz
labitat-ansible-e5fb2f5868510e2e0280c3bd90e889f7d2f4ca00.tar.xz
labitat-ansible-e5fb2f5868510e2e0280c3bd90e889f7d2f4ca00.zip
users: k2OS: added
Esmil: fixed a few typos
-rw-r--r--roles/users/tasks/k2OS.yml17
-rw-r--r--roles/users/tasks/main.yml4
2 files changed, 21 insertions, 0 deletions
diff --git a/roles/users/tasks/k2OS.yml b/roles/users/tasks/k2OS.yml
new file mode 100644
index 0000000..6bff535
--- /dev/null
+++ b/roles/users/tasks/k2OS.yml
@@ -0,0 +1,17 @@
+---
+- name: k2OS
+ user:
+ comment: 'René Mikkelsen'
+ name: k2OS
+ uid: 1005
+ group: users
+ groups:
+ - wheel
+
+- name: k2OS - authorized_keys
+ authorized_key:
+ user: k2OS
+ key: '{{ item }}'
+ with_items:
+ - 'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAqmvJAMyY117n638/rYw6EtDSY+iHG5xbg/pO932T/0D9X1MVmEnQyOa3597ufBSTUs1GdKtG2N0lyRq91OBS9JN4E+4Hm1t3UgH7/EKbun1Qb0HQMKsI4AR1onsFBeSCkZiijbg9lf7SL6+Ea0cYoXqy3uCWj/Q1PXq+3WlnlLnl9tFhytwuInuTmQvYpHwGgiEs1hIJWjBCbLPMyWbU7LOE6VzXQTbXCJz8FuraX5noiubpii74nHtUzM466ED3JUnf3TPWG8uGitJ7bT2/ZOQ5W83wUC0Xc80Gai3ilRXapQReE7oybePyXkVhP5odBiCu36iqyEgGol8Sb6+S7Q== rene@gw'
+ - 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC46lbGFV/7kM4w1C1dLfnIAAanX+IV9vDHw3D8uzEGmwWV0XL8e5rdv1RpKZKHpkAgBcD1m2Y1jVDj1R8QdbGZNSDUoP8z3dMemBDJkqunJjTPIPPeyQFprk/hVkJ4pK0Y+w1lKJquIVDkhQYIQCzuxZraAAq4AgVT3L5ft9WuJm3Apk1w+GESK0oQCZNDOhT8MblqiR+JZBUo2gd68jxr9+Wq3ekE7I/N3sO9HFeze4axcTQKcTs39Oi+RYNKJh44sAdxeo2HUX0IYasyxEr2z8H3BmMn1R/Fxwzj2seLYFu1U21UDZdqN+AfgpEabox0HOKvrNDNBGTC5KwWgWBB rene@denada.dk'
diff --git a/roles/users/tasks/main.yml b/roles/users/tasks/main.yml
index b334014..ec5ef11 100644
--- a/roles/users/tasks/main.yml
+++ b/roles/users/tasks/main.yml
@@ -19,5 +19,9 @@
tags:
- users
- knielsen
+- import_tasks: k2OS.yml
+ tags:
+ - users
+ - k2OS
# vim: set ts=2 sw=2 et: