14 lines
397 B
YAML
14 lines
397 B
YAML
# main.yml
|
|
---
|
|
- name: admin_password should be defined
|
|
assert:
|
|
that:
|
|
- admin_password is defined and admin_password != ''
|
|
msg: "Set the value of 'admin_password' in the inventory file."
|
|
|
|
- include_tasks: check_openshift.yml
|
|
when: openshift_host is defined and openshift_host != ''
|
|
|
|
- include_tasks: check_docker.yml
|
|
when: openshift_host is not defined or openshift_host == ''
|