fix docker and podman
This commit is contained in:
parent
cb7818fa5f
commit
5b753e0eeb
@ -28,7 +28,7 @@
|
||||
when: ddclient_container_engine == 'docker'
|
||||
|
||||
- name: restart podman ddclient
|
||||
community.general.podman_container:
|
||||
containers.podman.podman_container:
|
||||
name: "{{ ddclient_container_name }}"
|
||||
hostname: "{{ ddclient_container_name }}"
|
||||
network: "{{ ddclient_network_mode }}"
|
||||
|
@ -26,6 +26,7 @@
|
||||
docker_container:
|
||||
name: "{{ ddclient_container_name }}"
|
||||
image: "{{ ddclient_container_registry }}/{{ ddclient_image_name }}:{{ ddclient_image_tag }}"
|
||||
network_mode: "{{ ddclient_network_mode }}"
|
||||
state: started
|
||||
container_default_behavior: no_defaults
|
||||
restart_policy: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user