From 3964b84305ac799f7cfeabf9bf2add8ad037ce5d Mon Sep 17 00:00:00 2001 From: vincent Date: Mon, 19 Apr 2021 18:14:53 +0200 Subject: [PATCH] correct docjer image update step --- tasks/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 3da5b9a..fd0bd06 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -18,7 +18,8 @@ - name: update image if needed docker_image: name: "{{ pihole_image_name }}" - force: yes + force_source: yes + source: pull when: pihole_update_container == True - name: "[docker] Setup the pi-hole docker container" @@ -52,4 +53,4 @@ src: 02-localresolver.conf.j2 # required. Path of a Jinja2 formatted template on the Ansible controller. This can be a relative or absolute path. when: pihole_local_resolver is defined notify: restart pihole container - become: yes \ No newline at end of file + become: yes