testing fix for issue #1
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b0e3fd8d44
commit
38fa45dda2
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
facts.d/
|
facts.d/
|
||||||
hosts
|
hosts
|
||||||
collections/
|
collections/
|
||||||
|
.vscode
|
11
gitea.yml
11
gitea.yml
@ -73,13 +73,9 @@
|
|||||||
- /etc/gitea
|
- /etc/gitea
|
||||||
|
|
||||||
|
|
||||||
- name: Debug ansible_virtualization_type
|
|
||||||
ansible.builtin.debug:
|
|
||||||
var: ansible_virtualization_type
|
|
||||||
|
|
||||||
|
|
||||||
- name: Manage Gitea service
|
- name: Manage Gitea service
|
||||||
when: ansible_virtualization_type != "docker"
|
when:
|
||||||
|
- ansible_virtualization_type | select('match', '(?:podman|docker|container)')
|
||||||
block:
|
block:
|
||||||
- name: Deploy unit file for Gitea
|
- name: Deploy unit file for Gitea
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
@ -105,7 +101,8 @@
|
|||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
name : gitea
|
name : gitea
|
||||||
state : restarted
|
state : restarted
|
||||||
when: ansible_virtualization_type != "docker"
|
when:
|
||||||
|
- ansible_virtualization_type | select('match', '(?:podman|docker|container)')
|
||||||
|
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user