mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-11 10:00:03 -03:30
* project: fix var-spacing ansible rule Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix spacing on the beginning/end of jinja template Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix spacing of default filter Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix spacing between filter arguments Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix double space at beginning/end of jinja Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix remaining jinja[spacing] ansible-lint warning Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
17 lines
533 B
YAML
17 lines
533 B
YAML
---
|
|
- name: User | Create User Group
|
|
group:
|
|
name: "{{ user.group | default(user.name) }}"
|
|
system: "{{ user.system | default(omit) }}"
|
|
|
|
- name: User | Create User
|
|
user:
|
|
comment: "{{ user.comment | default(omit) }}"
|
|
create_home: "{{ user.create_home | default(omit) }}"
|
|
group: "{{ user.group | default(user.name) }}"
|
|
home: "{{ user.home | default(omit) }}"
|
|
shell: "{{ user.shell | default(omit) }}"
|
|
name: "{{ user.name }}"
|
|
system: "{{ user.system | default(omit) }}"
|
|
when: user.name != "root"
|