diff --git a/roles/vmagent/defaults/main/container.yml b/roles/vmagent/defaults/main/container.yml index 7cbf4e5..c71a93d 100644 --- a/roles/vmagent/defaults/main/container.yml +++ b/roles/vmagent/defaults/main/container.yml @@ -53,3 +53,7 @@ vmagent_container_env: ~ vmagent_container_merged_env: >-2 {{ (vmagent_container_base_env | default({}, true)) | combine(vmagent_container_env | default({})) }} +vmagent_container_comparisons: + env: allow_more_present + image: strict + labels: allow_more_present diff --git a/roles/vmagent/tasks/deploy-docker.yml b/roles/vmagent/tasks/deploy-docker.yml index 386a694..128d768 100644 --- a/roles/vmagent/tasks/deploy-docker.yml +++ b/roles/vmagent/tasks/deploy-docker.yml @@ -25,4 +25,5 @@ dns_servers: "{{ vmagent_container_dns_servers | default(omit, true) }}" network_mode: "{{ vmagent_container_network_mode | default(omit, true) }}" restart_policy: "{{ vmagent_container_restart_policy | default(omit, true) }}" + comparisons: "{{ vmagent_container_comparisons | default(omit, true) }}" state: "{{ vmagent_container_state }}"