summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-setup.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/openshift-setup.yml')
-rw-r--r--playbooks/openshift-setup.yml18
1 files changed, 1 insertions, 17 deletions
diff --git a/playbooks/openshift-setup.yml b/playbooks/openshift-setup.yml
index 4b98f39..d5675e4 100644
--- a/playbooks/openshift-setup.yml
+++ b/playbooks/openshift-setup.yml
@@ -1,29 +1,13 @@
-- name: Common setup procedures
+- name: Analyze Ands configuration
hosts: ands
roles:
- role: ands_facts
-
-- name: Temporary provision /etc/hosts with Masters IP.
- hosts: nodes:!masters
- tasks:
- - lineinfile: dest="/etc/hosts" line="{{ ands_openshift_network | ipaddr(node_id) | ipaddr('address') }} {{ ands_openshift_lb }}" regexp=".*{{ ands_openshift_lb }}$" state="present"
- when: (ands_provision_without_dns | default(false))
- vars:
- node_id: "{{ hostvars[groups['masters'][0]]['ands_host_id'] }}"
-
- name: Various OpenShift resources
hosts: nodes
roles:
- role: ands_openshift
-- name: Remove temporary entries in /etc/hosts
- hosts: nodes:!masters
- tasks:
- - lineinfile: dest="/etc/hosts" regexp=".*{{ ands_openshift_lb }}$" state="absent"
- when: (ands_provision_without_dns | default(false))
-
-
- name: OpenVPN service
hosts: nodes
roles: