lowercase usernames
This commit is contained in:
parent
58225636d7
commit
b7278a503a
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
- name: "create users"
|
- name: "create users"
|
||||||
user:
|
user:
|
||||||
name: "{{ item }}"
|
name: "{{ item | lower }}"
|
||||||
skeleton: "/etc/skel/"
|
skeleton: "/etc/skel/"
|
||||||
shell: "/bin/bash"
|
shell: "/bin/bash"
|
||||||
become: true
|
become: true
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
authorized_key:
|
authorized_key:
|
||||||
key: "{{ git_url }}/{{ item }}.keys"
|
key: "{{ git_url }}/{{ item }}.keys"
|
||||||
exclusive: yes
|
exclusive: yes
|
||||||
user: "{{ item }}"
|
user: "{{ item | lower }}"
|
||||||
become: true
|
become: true
|
||||||
with_items: "{{ members | json_query('json[*].login') }}"
|
with_items: "{{ members | json_query('json[*].login') }}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue