[FIX] clean up docker_compose_v2 parameters
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 21s
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 21s
This commit is contained in:
parent
529749ed14
commit
b0da3ff4a7
@ -8,8 +8,7 @@
|
|||||||
- name: Stop Gitea for backup
|
- name: Stop Gitea for backup
|
||||||
community.docker.docker_compose_v2:
|
community.docker.docker_compose_v2:
|
||||||
project_src: /opt/gitea
|
project_src: /opt/gitea
|
||||||
state: present
|
state: stopped
|
||||||
stopped: true
|
|
||||||
register: docker_compose
|
register: docker_compose
|
||||||
listen:
|
listen:
|
||||||
- Backup Gitea
|
- Backup Gitea
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
- name: Ensure Gitea is restarted
|
- name: Ensure Gitea is restarted
|
||||||
community.docker.docker_compose_v2:
|
community.docker.docker_compose_v2:
|
||||||
project_src: /opt/gitea
|
project_src: /opt/gitea
|
||||||
restarted: true
|
state: restarted
|
||||||
register: docker_compose
|
register: docker_compose
|
||||||
|
|
||||||
- name: Ensure Gitea is running
|
- name: Ensure Gitea is running
|
||||||
|
Loading…
Reference in New Issue
Block a user