Bump hackmd version, migrate to docker compose v2 ansible module

This commit is contained in:
2024-07-02 18:33:41 +02:00
parent e2a4506f94
commit 0aeebb5d98
4 changed files with 12 additions and 14 deletions
+8 -9
View File
@@ -109,11 +109,11 @@
# that Gitea is reachable before those configurations are deployed.
- name: Set up caddy and gitea containers
become: true
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: "/etc/pbri/docker/{{ item.name }}"
state: "{{ item.state }}"
build: true
debug: true
build: "always"
pull: "always"
loop:
- name: caddy
state: present
@@ -132,12 +132,11 @@
delay: 5 # Retry every 5 seconds
- name: Set up other containers
become: true
community.docker.docker_compose:
community.docker.docker_compose_v2:
project_src: "/etc/pbri/docker/{{ item.name }}"
state: "{{ item.state }}"
build: true
pull: true
debug: true
build: "always"
pull: "always"
loop:
- name: drone
state: present
@@ -147,11 +146,11 @@
state: present
- name: utoy
state: present
- name: score
state: present
# Keep these to ensure they're down
- name: factorio
state: absent
- name: glebby
state: absent
- name: score
state: absent