Upgrade to 1.22.5 #10
10
gitea.yml
10
gitea.yml
@ -73,9 +73,15 @@
|
|||||||
- /etc/gitea
|
- /etc/gitea
|
||||||
|
|
||||||
|
|
||||||
|
- name: Debug ansible_virtualization_type
|
||||||
|
ansible.builtin.debug:
|
||||||
|
var: ansible_virtualization_type
|
||||||
|
verbosity: 1
|
||||||
|
|
||||||
|
|
||||||
- name: Manage Gitea service
|
- name: Manage Gitea service
|
||||||
when:
|
when:
|
||||||
- ansible_virtualization_type | select('match', '(?:podman|docker|container)')
|
- not ansible_virtualization_type | regex_search('(podman|docker|container)')
|
||||||
block:
|
block:
|
||||||
- name: Deploy unit file for Gitea
|
- name: Deploy unit file for Gitea
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
@ -102,7 +108,7 @@
|
|||||||
name : gitea
|
name : gitea
|
||||||
state : restarted
|
state : restarted
|
||||||
when:
|
when:
|
||||||
- ansible_virtualization_type | select('match', '(?:podman|docker|container)')
|
- not ansible_virtualization_type | regex_search('(podman|docker|container)')
|
||||||
|
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user