mirror of
https://github.com/luzifer-ansible/users.git
synced 2024-12-23 02:11:17 +00:00
Comment wording
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7fee72eb09
commit
320345868d
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: Set up users for manual access
|
- name: Create and configure users
|
||||||
user:
|
user:
|
||||||
name: '{{ item.name }}'
|
name: '{{ item.name }}'
|
||||||
shell: '{{ item.shell | default("/bin/bash") }}'
|
shell: '{{ item.shell | default("/bin/bash") }}'
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
group: '{{ item.name }}'
|
group: '{{ item.name }}'
|
||||||
with_items: '{{ users }}'
|
with_items: '{{ users }}'
|
||||||
|
|
||||||
- name: Install SSH keys for users
|
- name: Install SSH keys for user
|
||||||
copy:
|
copy:
|
||||||
content: '{{ item.ssh_key }}'
|
content: '{{ item.ssh_key }}'
|
||||||
dest: '{% if item.name != "root" %}/home{% endif %}/{{ item.name }}/.ssh/authorized_keys'
|
dest: '{% if item.name != "root" %}/home{% endif %}/{{ item.name }}/.ssh/authorized_keys'
|
||||||
|
|
Loading…
Reference in a new issue