mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 14:36:00 -03:30
Adds docker installation steps (#15)
This commit is contained in:
committed by
GitHub
parent
c1ffa6e5d9
commit
e2a0fd7b0b
15
installer/check_vars/tasks/check_docker.yml
Normal file
15
installer/check_vars/tasks/check_docker.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
# check_docker.yml
|
||||
---
|
||||
- name: postgres_data_dir should be defined
|
||||
assert:
|
||||
that:
|
||||
- postgres_data_dir is defined and postgres_data_dir != ''
|
||||
msg: "Set the value of 'postgres_data_dir' in the inventory file."
|
||||
when: pg_hostname is not defined or pg_hostname == ''
|
||||
|
||||
- name: host_port should be defined
|
||||
assert:
|
||||
that:
|
||||
- host_port is defined and host_port != ''
|
||||
msg: "Set the value of 'host_port' in the inventory file."
|
||||
|
||||
49
installer/check_vars/tasks/check_openshift.yml
Normal file
49
installer/check_vars/tasks/check_openshift.yml
Normal file
@@ -0,0 +1,49 @@
|
||||
# check_openshift.yml
|
||||
---
|
||||
- name: awx_openshift_project should be defined
|
||||
assert:
|
||||
that:
|
||||
- awx_openshift_project is defined and awx_openshift_project != ''
|
||||
msg: "Set the value of 'awx_openshift_project' in the inventory file."
|
||||
|
||||
- name: openshift_user should be defined
|
||||
assert:
|
||||
that:
|
||||
- openshift_user is defined and openshift_user != ''
|
||||
msg: "Set the value of 'openshift_user' in the inventory file."
|
||||
|
||||
- name: openshift_password should be defined
|
||||
assert:
|
||||
that:
|
||||
- openshift_password is defined and openshift_password != ''
|
||||
msg: "Set the value of 'openshift_password' in the inventory file."
|
||||
|
||||
- name: awx_node_port should be defined
|
||||
assert:
|
||||
that:
|
||||
- awx_node_port is defined and awx_node_port != ''
|
||||
msg: "Set the value of 'awx_node_port' in the inventory file."
|
||||
|
||||
- name: docker_registry should be defined
|
||||
assert:
|
||||
that:
|
||||
- docker_registry is defined and docker_registry != ''
|
||||
msg: "Set the value of 'docker_registry' in the inventory file."
|
||||
|
||||
- name: docker_registry_repository should be defined
|
||||
assert:
|
||||
that:
|
||||
- docker_registry_repository is defined and docker_registry_repository != ''
|
||||
msg: "Set the value of 'docker_registry_repository' in the inventory file."
|
||||
|
||||
- name: docker_registry_username should be defined
|
||||
assert:
|
||||
that:
|
||||
- docker_registry_username is defined and docker_registry_username != ''
|
||||
msg: "Set the value of 'docker_registry_username' in the inventory file."
|
||||
|
||||
- name: docker_registry_password should be defined
|
||||
assert:
|
||||
that:
|
||||
- docker_registry_password is defined and docker_registry_password != ''
|
||||
msg: "Set the value of 'docker_registry_password' in the inventory file."
|
||||
9
installer/check_vars/tasks/main.yml
Normal file
9
installer/check_vars/tasks/main.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
# main.yml
|
||||
---
|
||||
|
||||
- include: check_openshift.yml
|
||||
when: openshift_host is defined and openshift_host != ''
|
||||
|
||||
- include: check_docker.yml
|
||||
when: openshift_host is not defined or openshift_host == ''
|
||||
|
||||
Reference in New Issue
Block a user