mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
Fix login shell
This commit is contained in:
parent
6e516adb74
commit
4555638297
1 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,11 @@
|
|||
system: true
|
||||
state: "present"
|
||||
|
||||
- name: Switch shell when not using the builtin ssh server
|
||||
set_fact:
|
||||
gitea_shell: "/bin/bash"
|
||||
when: "not gitea_start_ssh and gitea_shell == '/bin/false'"
|
||||
|
||||
- name: "Create Gitea user"
|
||||
become: true
|
||||
ansible.builtin.user:
|
||||
|
|
Loading…
Reference in a new issue