c14523148a
This variable may be undefined, so use the default documented by the roles. Change-Id: I842a596402f30f1c9a1c2369a6dde23c346fd5f5
11 lines
324 B
YAML
11 lines
324 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
|