Deployer Tasks: Force pull Podman images

This commit is contained in:
Christer Warén 2024-04-25 15:25:52 +03:00
parent 4b687318b3
commit e4b928ba6d

View File

@ -21,6 +21,7 @@
containers.podman.podman_image: containers.podman.podman_image:
name: docker.io/mariadb name: docker.io/mariadb
tag: latest tag: latest
force: on
register: deployerTask101 register: deployerTask101
- name: "Deployer - MariaDB - Run Container" - name: "Deployer - MariaDB - Run Container"
@ -53,7 +54,7 @@
- name: "Deployer - MariaDB - Upgrade" - name: "Deployer - MariaDB - Upgrade"
containers.podman.podman_container_exec: containers.podman.podman_container_exec:
name: "mariadb" name: mariadb
command: "mariadb-upgrade --host=127.0.0.1 --user=root --password=y9ZmTmUKLaRrZ4SA" command: "mariadb-upgrade --host=127.0.0.1 --user=root --password=y9ZmTmUKLaRrZ4SA"
register: task register: task
ignore_errors: yes ignore_errors: yes
@ -129,6 +130,7 @@
containers.podman.podman_image: containers.podman.podman_image:
name: docker.io/nginx name: docker.io/nginx
tag: latest tag: latest
force: on
register: deployerTask3 register: deployerTask3
- name: "Deployer - Nginx - Run Container" - name: "Deployer - Nginx - Run Container"