From ddcaf23d44324110cbd9dba8db23555bf61aca1f Mon Sep 17 00:00:00 2001 From: transcaffeine Date: Sun, 1 Dec 2024 09:58:15 +0100 Subject: [PATCH] chore(hydrogen): drop unsupported parameter 'purge_networks' on 'docker_container' module --- roles/hydrogen/defaults/main/container.yml | 1 - roles/hydrogen/tasks/deploy-docker.yml | 2 -- roles/hydrogen/tasks/deploy-podman.yml | 2 -- 3 files changed, 5 deletions(-) diff --git a/roles/hydrogen/defaults/main/container.yml b/roles/hydrogen/defaults/main/container.yml index 1e26dcf..a7691d8 100644 --- a/roles/hydrogen/defaults/main/container.yml +++ b/roles/hydrogen/defaults/main/container.yml @@ -37,7 +37,6 @@ hydrogen_container_labels: ~ hydrogen_container_ulimits: ~ hydrogen_container_volumes: ~ hydrogen_container_networks: ~ -hydrogen_container_purge_networks: ~ hydrogen_container_dns_servers: ~ hydrogen_container_etc_hosts: ~ hydrogen_container_restart_policy: unless-stopped diff --git a/roles/hydrogen/tasks/deploy-docker.yml b/roles/hydrogen/tasks/deploy-docker.yml index bbb26c5..1d59470 100644 --- a/roles/hydrogen/tasks/deploy-docker.yml +++ b/roles/hydrogen/tasks/deploy-docker.yml @@ -22,8 +22,6 @@ ulimits: "{{ hydrogen_container_ulimits | default(omit, true) }}" volumes: "{{ hydrogen_container_volumes }}" networks: "{{ hydrogen_container_networks | default(omit, true) }}" - purge_networks: >-2 - {{ hydrogen_container_purge_networks | default(omit, true) }} dns_servers: >-2 {{ hydrogen_container_dns_servers | default(omit, true) }} etc_hosts: >-2 diff --git a/roles/hydrogen/tasks/deploy-podman.yml b/roles/hydrogen/tasks/deploy-podman.yml index e26fc5a..38294cc 100644 --- a/roles/hydrogen/tasks/deploy-podman.yml +++ b/roles/hydrogen/tasks/deploy-podman.yml @@ -21,8 +21,6 @@ ulimits: "{{ hydrogen_container_ulimits | default(omit, true) }}" volumes: "{{ hydrogen_container_volumes }}" network: "{{ hydrogen_container_networks | default(omit, true) }}" - purge_networks: >-2 - {{ hydrogen_container_purge_networks | default(omit, true) }} dns_servers: >-2 {{ hydrogen_container_dns_servers | default(omit, true) }} etc_hosts: >-2