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