Correct wrong Alpine shell for service user
This commit is contained in:
parent
0d55bd1d30
commit
86466e98ab
|
@ -44,6 +44,9 @@
|
||||||
ssh_service_name:
|
ssh_service_name:
|
||||||
devuan: ssh
|
devuan: ssh
|
||||||
|
|
||||||
|
user_shell:
|
||||||
|
alpine: /bin/ash
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
@ -95,6 +98,7 @@
|
||||||
- name: 'Add normal user "{{ service_username }}"'
|
- name: 'Add normal user "{{ service_username }}"'
|
||||||
user:
|
user:
|
||||||
name: "{{ service_username }}"
|
name: "{{ service_username }}"
|
||||||
|
shell: "{{ user_shell[os_d]|default('/bin/bash') }}"
|
||||||
|
|
||||||
|
|
||||||
- name: 'Set password for user "{{ service_username }}"'
|
- name: 'Set password for user "{{ service_username }}"'
|
||||||
|
|
Loading…
Reference in a new issue