a3a3c51152
Add containers role so that we can use podman/docker cli detection. Change-Id: I138e649db721bfa30e454f41be38eb5d053a3fda Signed-off-by: Charles Short <chucks@redhat.com>
16 lines
424 B
YAML
16 lines
424 B
YAML
---
|
|
- name: Set browbeat_contianers_path
|
|
set_fact:
|
|
browbeat_containers_path: "{{ ansible_user_dir }}/browbeat/browbeat-containers"
|
|
|
|
- name: Set container_cli (OSP < 15)
|
|
set_fact:
|
|
container_cli: docker
|
|
when: rhosp_version is version('15.0', '<') and osp_version is version('12.0', '>=')
|
|
|
|
- name: Set container_cli (OSP > 15)
|
|
set_fact:
|
|
container_cli: podman
|
|
when: rhosp_version is version('15.0', '>=')
|
|
|