|
@@ -1,8 +1,11 @@
|
|
|
---
|
|
|
-- hosts: localhost
|
|
|
+- name: Create initial host groups for localhost
|
|
|
+ hosts: localhost
|
|
|
connection: local
|
|
|
become: no
|
|
|
gather_facts: no
|
|
|
+ tags:
|
|
|
+ - always
|
|
|
tasks:
|
|
|
- include_vars: openshift-cluster/cluster_hosts.yml
|
|
|
- name: Evaluate group l_oo_all_hosts
|
|
@@ -12,14 +15,18 @@
|
|
|
with_items: "{{ g_all_hosts | default([]) }}"
|
|
|
changed_when: False
|
|
|
|
|
|
-- hosts: l_oo_all_hosts
|
|
|
+- name: Create initial host groups for all hosts
|
|
|
+ hosts: l_oo_all_hosts
|
|
|
gather_facts: no
|
|
|
+ tags:
|
|
|
+ - always
|
|
|
tasks:
|
|
|
- - include_vars: openshift-cluster/cluster_hosts.yml
|
|
|
+ - include_vars: ../byo/openshift-cluster/cluster_hosts.yml
|
|
|
|
|
|
- include: ../common/openshift-cluster/evaluate_groups.yml
|
|
|
|
|
|
-- hosts: l_oo_all_hosts
|
|
|
+- name: Subscribe hosts, update repos and update OS packages
|
|
|
+ hosts: l_oo_all_hosts
|
|
|
vars:
|
|
|
openshift_deployment_type: "{{ deployment_type }}"
|
|
|
roles:
|