Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion playbooks/byo/config.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
- include: openshift-cluster/config.yml
# TODO (rteague): Temporarily leaving this playbook to allow CI tests to operate until CI jobs are updated.
- import_playbook: ../deploy_cluster.yml
4 changes: 0 additions & 4 deletions playbooks/byo/openshift-cluster/config.yml

This file was deleted.

44 changes: 0 additions & 44 deletions playbooks/common/openshift-cluster/config.yml

This file was deleted.

46 changes: 46 additions & 0 deletions playbooks/deploy_cluster.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
- import_playbook: init/main.yml

- import_playbook: openshift-checks/private/install.yml

- import_playbook: openshift-etcd/private/config.yml

- import_playbook: openshift-nfs/private/config.yml
when: groups.oo_nfs_to_config | default([]) | count > 0

- import_playbook: openshift-loadbalancer/private/config.yml
when: groups.oo_lb_to_config | default([]) | count > 0

- import_playbook: openshift-master/private/config.yml

- import_playbook: openshift-master/private/additional_config.yml

- import_playbook: openshift-node/private/config.yml

- import_playbook: openshift-glusterfs/private/config.yml
when: groups.oo_glusterfs_to_config | default([]) | count > 0

- import_playbook: openshift-hosted/private/config.yml

- import_playbook: openshift-metrics/private/config.yml
when: openshift_metrics_install_metrics | default(false) | bool

- import_playbook: openshift-logging/private/config.yml
when: openshift_logging_install_logging | default(false) | bool

- import_playbook: openshift-prometheus/private/config.yml
when: openshift_hosted_prometheus_deploy | default(false) | bool

- import_playbook: openshift-service-catalog/private/config.yml
when: openshift_enable_service_catalog | default(true) | bool

- import_playbook: openshift-management/private/config.yml
when: openshift_management_install_management | default(false) | bool

- name: Print deprecated variable warning message if necessary
hosts: oo_first_master
gather_facts: no
tasks:
- debug: msg="{{__deprecation_message}}"
when:
- __deprecation_message | default ('') | length > 0
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@
include_role:
name: openshift_gcp

- name: run the init
include: ../../init/main.yml

- name: run the config
include: ../../common/openshift-cluster/config.yml
- name: run the cluster deploy
include: ../deploy_cluster.yml
7 changes: 2 additions & 5 deletions playbooks/openstack/openshift-cluster/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,5 @@
# values here. We do it in the OSEv3 group vars. Do we need to add
# some logic here?

- name: run the initialization
include: ../../init/main.yml

- name: run the config
include: ../../common/openshift-cluster/config.yml
- name: run the cluster deploy
include: ../../deploy_cluster.yml