diff --git a/tasks/containers.yml b/tasks/containers.yml index 16e1524..09d12f7 100644 --- a/tasks/containers.yml +++ b/tasks/containers.yml @@ -152,7 +152,7 @@ annotation: "{{ item.annotations | default(omit) }}" # Container lifecycle - restart_policy: "{{ item.restart_policy | default('no') }}" + restart_policy: "{{ item.restart_policy | default(omit) }}" restart_time: "{{ item.restart_time | default(omit) }}" stop_signal: "{{ item.stop_signal | default(omit) }}" stop_time: "{{ item.stop_time | default(omit) }}" @@ -160,7 +160,7 @@ timeout: "{{ item.timeout | default(omit) }}" # Pull and image options - pull: "{{ item.pull | default('missing') }}" + pull: "{{ item.pull | default(omit) }}" image_strict: "{{ item.image_strict | bool | default(omit) }}" arch: "{{ item.arch | default(omit) }}" os: "{{ item.os | default(omit) }}"