correct docjer image update step
This commit is contained in:
parent
e3a15c0852
commit
3964b84305
@ -18,7 +18,8 @@
|
|||||||
- name: update image if needed
|
- name: update image if needed
|
||||||
docker_image:
|
docker_image:
|
||||||
name: "{{ pihole_image_name }}"
|
name: "{{ pihole_image_name }}"
|
||||||
force: yes
|
force_source: yes
|
||||||
|
source: pull
|
||||||
when: pihole_update_container == True
|
when: pihole_update_container == True
|
||||||
|
|
||||||
- name: "[docker] Setup the pi-hole docker container"
|
- 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.
|
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
|
when: pihole_local_resolver is defined
|
||||||
notify: restart pihole container
|
notify: restart pihole container
|
||||||
become: yes
|
become: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user