From bbced59f27d07563734cd0b3cb3da5e4e77634ae Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Sun, 13 Jan 2019 20:07:50 +0100 Subject: users: add more flexible user management Now user data is in roles/users/defaults/main.yml and each server should have a hash like this users: 'foo': sudo 'bar': true 'baz': false #'qux': false This means the user foo will be created with sudo access, the user bar will be created without sudo access, while baz and qux will be removed. --- roles/users/tasks/ast.yml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 roles/users/tasks/ast.yml (limited to 'roles/users/tasks/ast.yml') diff --git a/roles/users/tasks/ast.yml b/roles/users/tasks/ast.yml deleted file mode 100644 index 7f0c6f4..0000000 --- a/roles/users/tasks/ast.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- name: ast - user: - comment: 'Asbjørn Sloth Tønnesen' - name: ast - shell: '/bin/bash' - uid: 2001 - group: users - groups: '{{ user_groups }}' - -- name: ast - authorized_keys - authorized_key: - user: ast - key: 'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAyLX2AICoAhOSOnZth9PMlxqgPrw//J2wMtcHQUppqSjHGFkxIkOWnMUwbSZo/kFj2J8e8GJ7xwmC3tTblmJl+Ba1R77SEETJQpM1/TgWcCK5L7KpK/XP7yTCPMds1vczjgIIMA+DS9iuNQkqLSA5B6gdGfbfuPsMB/W8L2gqkVFMiE3zcrxGLwaPPW7fo9rA2Z7tMEZMFy9SB0u3mqY5aoBiI9P5U3rgn96SO8cs/JVnf99RfkJQWmBamZIH3vqwvC3uG+QgB0cQ9Sy9/I4Q75YQKnGPS+ySQVvo3nY9KpULAbHoVZyu3CtzDfXYOxgUXhJ/GerZZUbyHkrndhXteQ== asbjorn@asbjorn.it' - -# vim: set ts=2 sw=2 et: -- cgit v1.2.1