From f869415626a29a2f6183b44b18b23aeb2306f83b Mon Sep 17 00:00:00 2001 From: saltydk Date: Thu, 29 Feb 2024 12:08:02 +0100 Subject: [PATCH] docker: change pull param to bool --- roles/kcptun_server/tasks/main.yml | 2 +- roles/recyclarr/tasks/main.yml | 1 + roles/rocketchat/tasks/main.yml | 1 + roles/telegraf/tasks/main.yml | 2 +- roles/varken/tasks/main.yml | 2 +- 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/roles/kcptun_server/tasks/main.yml b/roles/kcptun_server/tasks/main.yml index efb0824152..76a41f03b4 100644 --- a/roles/kcptun_server/tasks/main.yml +++ b/roles/kcptun_server/tasks/main.yml @@ -44,7 +44,7 @@ community.docker.docker_container: name: kcptun-server image: horjulf/kcptun:latest - pull: yes + pull: true env: TZ: "{{ tz }}" volumes: diff --git a/roles/recyclarr/tasks/main.yml b/roles/recyclarr/tasks/main.yml index e67b57b28e..8e043a6d3d 100644 --- a/roles/recyclarr/tasks/main.yml +++ b/roles/recyclarr/tasks/main.yml @@ -33,6 +33,7 @@ '*': ignore auto_remove: yes state: started + pull: true when: (not recyclarr_config.stat.exists) - name: Create Docker container diff --git a/roles/rocketchat/tasks/main.yml b/roles/rocketchat/tasks/main.yml index 516fde512c..2ea033edb7 100644 --- a/roles/rocketchat/tasks/main.yml +++ b/roles/rocketchat/tasks/main.yml @@ -46,6 +46,7 @@ '*': ignore auto_remove: yes state: started + pull: true - name: Create Docker container ansible.builtin.include_tasks: "{{ resources_tasks_path }}/docker/create_docker_container.yml" diff --git a/roles/telegraf/tasks/main.yml b/roles/telegraf/tasks/main.yml index efebde968b..e8f7affd78 100644 --- a/roles/telegraf/tasks/main.yml +++ b/roles/telegraf/tasks/main.yml @@ -40,7 +40,7 @@ community.docker.docker_container: name: telegraf image: "telegraf" - pull: yes + pull: true command_handling: compatibility container_default_behavior: compatibility default_host_ip: "" diff --git a/roles/varken/tasks/main.yml b/roles/varken/tasks/main.yml index 69268d45de..8ab946409e 100644 --- a/roles/varken/tasks/main.yml +++ b/roles/varken/tasks/main.yml @@ -67,7 +67,7 @@ community.docker.docker_container: name: varken image: "ghcr.io/thezak48/varken:develop" - pull: yes + pull: true command_handling: compatibility container_default_behavior: compatibility default_host_ip: ""