1
1
Fork 0
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:
firesoft-de 2021-04-05 22:02:31 +02:00 committed by L3D
parent 6e516adb74
commit 4555638297

View file

@ -6,6 +6,11 @@
system: true system: true
state: "present" 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" - name: "Create Gitea user"
become: true become: true
ansible.builtin.user: ansible.builtin.user: