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