-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Two tasks for initializing group names for the byo playbooks was located in the common folder in the std_include.yml file. Byo dependencies should not be in the common folder. The two tasks have been removed from common/openshift-cluster/std_include.yml to a new file byo/openshift-cluster/initialize_groups.yml. All references where these tasks were included from either std_include.yml or other various files have been updated to use the byo initialize_groups.yml. The methodology implemented follows the pattern of having groups set up in byo then calling out to playbooks in common, which are common to all deployments.
- Loading branch information
Showing
35 changed files
with
109 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,4 @@ | ||
--- | ||
- name: Create initial host groups for localhost | ||
hosts: localhost | ||
connection: local | ||
become: no | ||
gather_facts: no | ||
tags: | ||
- always | ||
tasks: | ||
- include_vars: ../../byo/openshift-cluster/cluster_hosts.yml | ||
- name: Evaluate group l_oo_all_hosts | ||
add_host: | ||
name: "{{ item }}" | ||
groups: l_oo_all_hosts | ||
with_items: "{{ g_all_hosts | default([]) }}" | ||
changed_when: False | ||
|
||
- name: Create initial host groups for all hosts | ||
hosts: l_oo_all_hosts | ||
gather_facts: no | ||
tags: | ||
- always | ||
tasks: | ||
- include_vars: ../../byo/openshift-cluster/cluster_hosts.yml | ||
- include: initialize_groups.yml | ||
|
||
- include: ../../common/openshift-cluster/enable_dnsmasq.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
- name: Create initial host groups for localhost | ||
hosts: localhost | ||
connection: local | ||
become: no | ||
gather_facts: no | ||
tags: | ||
- always | ||
tasks: | ||
- include_vars: cluster_hosts.yml | ||
- name: Evaluate group l_oo_all_hosts | ||
add_host: | ||
name: "{{ item }}" | ||
groups: l_oo_all_hosts | ||
with_items: "{{ g_all_hosts | default([]) }}" | ||
changed_when: no | ||
|
||
- name: Create initial host groups for all hosts | ||
hosts: l_oo_all_hosts | ||
gather_facts: no | ||
tags: | ||
- always | ||
tasks: | ||
- include_vars: cluster_hosts.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
playbooks/byo/openshift-cluster/redeploy-etcd-certificates.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
playbooks/byo/openshift-cluster/redeploy-master-certificates.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
playbooks/byo/openshift-cluster/redeploy-node-certificates.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
playbooks/byo/openshift-cluster/redeploy-registry-certificates.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
playbooks/byo/openshift-cluster/redeploy-router-certificates.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 1 addition & 23 deletions
24
playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,5 @@ | ||
--- | ||
# Playbook to upgrade Docker to the max allowable version for an OpenShift cluster. | ||
- name: Create initial host groups for localhost | ||
hosts: localhost | ||
connection: local | ||
become: no | ||
gather_facts: no | ||
tags: | ||
- always | ||
tasks: | ||
- include_vars: ../../cluster_hosts.yml | ||
- name: Evaluate group l_oo_all_hosts | ||
add_host: | ||
name: "{{ item }}" | ||
groups: l_oo_all_hosts | ||
with_items: "{{ g_all_hosts | default([]) }}" | ||
changed_when: False | ||
|
||
- name: Create initial host groups for all hosts | ||
hosts: l_oo_all_hosts | ||
gather_facts: no | ||
tags: | ||
- always | ||
tasks: | ||
- include_vars: ../../cluster_hosts.yml | ||
- include: ../../initialize_groups.yml | ||
|
||
- include: ../../../../common/openshift-cluster/upgrades/docker/docker_upgrade.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,4 @@ | ||
--- | ||
- name: Create initial host groups for localhost | ||
hosts: localhost | ||
connection: local | ||
become: no | ||
gather_facts: no | ||
tags: | ||
- always | ||
tasks: | ||
- include_vars: ../cluster_hosts.yml | ||
- name: Evaluate group l_oo_all_hosts | ||
add_host: | ||
name: "{{ item }}" | ||
groups: l_oo_all_hosts | ||
with_items: "{{ g_all_hosts | default([]) }}" | ||
changed_when: False | ||
|
||
- name: Create initial host groups for all hosts | ||
hosts: l_oo_all_hosts | ||
gather_facts: no | ||
tags: | ||
- always | ||
tasks: | ||
- include_vars: ../cluster_hosts.yml | ||
- include: ../initialize_groups.yml | ||
|
||
- include: ../../../common/openshift-cluster/upgrades/etcd/main.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.