correct docjer image update step

This commit is contained in:
vincent 2021-04-19 18:14:53 +02:00
parent e3a15c0852
commit 3964b84305

View File

@ -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
become: yes