use docker_compose_v2 module
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 31s
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 31s
This commit is contained in:
parent
fbc2a17011
commit
d03e1142f2
@ -6,7 +6,7 @@
|
|||||||
- Backup Gitea
|
- Backup Gitea
|
||||||
|
|
||||||
- name: Stop Gitea for backup
|
- name: Stop Gitea for backup
|
||||||
community.docker.docker_compose:
|
community.docker.docker_compose_v2:
|
||||||
project_src: /opt/gitea
|
project_src: /opt/gitea
|
||||||
state: present
|
state: present
|
||||||
stopped: true
|
stopped: true
|
||||||
|
@ -3,13 +3,13 @@
|
|||||||
file: backup.yaml
|
file: backup.yaml
|
||||||
|
|
||||||
- name: Ensure Gitea is restarted
|
- name: Ensure Gitea is restarted
|
||||||
community.docker.docker_compose:
|
community.docker.docker_compose_v2:
|
||||||
project_src: /opt/gitea
|
project_src: /opt/gitea
|
||||||
restarted: true
|
restarted: true
|
||||||
register: docker_compose
|
register: docker_compose
|
||||||
|
|
||||||
- name: Ensure Gitea is running
|
- name: Ensure Gitea is running
|
||||||
community.docker.docker_compose:
|
community.docker.docker_compose_v2:
|
||||||
project_src: /opt/gitea
|
project_src: /opt/gitea
|
||||||
register: docker_compose
|
register: docker_compose
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user