From a6b4bd127ba1282583c20ea2546f3d1b52f07d28 Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Sat, 14 Aug 2021 13:06:15 +0200 Subject: [PATCH] add pull yes to images --- tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 6ad5645..327dbef 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -36,6 +36,7 @@ community.general.docker_container: name: ki_db image: "{{ ki_db_image }}" + pull: no restart_policy: unless-stopped env: MYSQL_ROOT_PASSWORD: "{{ ki_db_root_password }}" @@ -51,6 +52,7 @@ community.general.docker_container: name: ki_backend image: "{{ ki_backend_image }}" + pull: yes restart_policy: unless-stopped env: SQLALCHEMY_DATABASE_URI: "mariadb+pymysql://ki:{{ ki_db_password }}@ki_db:3306/ki" @@ -69,6 +71,7 @@ community.general.docker_container: name: ki_frontend image: "{{ ki_frontend_image }}" + pull: yes restart_policy: unless-stopped ports: - "{{ ki_frontend_port }}:80"