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