1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00

Merge pull request #15 from roles-ansible/sh

Fix login shell
This commit is contained in:
L3D 2021-04-05 22:06:27 +02:00 committed by GitHub
commit 04dd46514e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: