diff --git a/playbooks/container-image/pre.yaml b/playbooks/container-image/pre.yaml index 90873a4..67d96b3 100644 --- a/playbooks/container-image/pre.yaml +++ b/playbooks/container-image/pre.yaml @@ -1,11 +1,11 @@ - hosts: all tasks: - name: Ensure docker is installed - when: "container_command == 'docker'" + when: "container_command | default('podman') == 'docker'" include_role: name: ensure-docker - name: Ensure podman is installed - when: "container_command != 'docker'" + when: "container_command | default('podman') != 'docker'" include_role: name: ensure-podman - name: Pull from intermediate registry