adjust user config
This commit is contained in:
parent
f3fe57ca09
commit
03a7c8a953
|
@ -14,6 +14,9 @@
|
|||
- name: "create users"
|
||||
user:
|
||||
name: "{{ item }}"
|
||||
skeleton: "/etc/skel/"
|
||||
shell: "/bin/bash"
|
||||
become: true
|
||||
with_items: "{{ members | json_query('json[*].login') }}"
|
||||
|
||||
- name: import user public keys
|
||||
|
@ -21,4 +24,5 @@
|
|||
key: "{{ git_url }}/{{ item }}.keys"
|
||||
exclusive: yes
|
||||
user: "{{ item }}"
|
||||
become: true
|
||||
with_items: "{{ members | json_query('json[*].login') }}"
|
||||
|
|
Loading…
Reference in New Issue