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