
This should run on the executor, not the nodes. Change-Id: I61fd52982c81d6dfe309b641cdb28278b4b438f2
15 lines
391 B
YAML
15 lines
391 B
YAML
- hosts: all
|
|
tasks:
|
|
- name: Ensure docker is installed
|
|
when: "container_command | default('podman') == 'docker'"
|
|
include_role:
|
|
name: ensure-docker
|
|
- name: Ensure podman is installed
|
|
when: "container_command | default('podman') != 'docker'"
|
|
include_role:
|
|
name: ensure-podman
|
|
|
|
- hosts: localhost
|
|
roles:
|
|
- pull-from-intermediate-registry
|