Compare commits
No commits in common. "e085a6572552d419e1f3821239711aa05a0c262e" and "03f999d0d902f3ca4228b7747666a7b3b0a8645a" have entirely different histories.
e085a65725
...
03f999d0d9
10
gitea.yml
10
gitea.yml
@ -73,15 +73,9 @@
|
||||
- /etc/gitea
|
||||
|
||||
|
||||
- name: Debug ansible_virtualization_type
|
||||
ansible.builtin.debug:
|
||||
var: ansible_virtualization_type
|
||||
verbosity: 1
|
||||
|
||||
|
||||
- name: Manage Gitea service
|
||||
when:
|
||||
- not ansible_virtualization_type | regex_search('(podman|docker|container)')
|
||||
- ansible_virtualization_type | select('match', '(?:podman|docker|container)')
|
||||
block:
|
||||
- name: Deploy unit file for Gitea
|
||||
ansible.builtin.template:
|
||||
@ -108,7 +102,7 @@
|
||||
name : gitea
|
||||
state : restarted
|
||||
when:
|
||||
- not ansible_virtualization_type | regex_search('(podman|docker|container)')
|
||||
- ansible_virtualization_type | select('match', '(?:podman|docker|container)')
|
||||
|
||||
|
||||
...
|
||||
|
Loading…
x
Reference in New Issue
Block a user