diff options
| author | Clayton Coleman <ccoleman@redhat.com> | 2018-01-21 01:46:42 -0500 | 
|---|---|---|
| committer | Clayton Coleman <ccoleman@redhat.com> | 2018-01-23 13:01:12 -0500 | 
| commit | f2b14d2e76d8a9b19d9515f00c0eac85876363f5 (patch) | |
| tree | 63c538ab8e4a7cc6254a890bc80f3a4a263a08d6 /playbooks/aws | |
| parent | 38e19f8e479e116047905afdfb2beac8b9555f66 (diff) | |
| download | openshift-f2b14d2e76d8a9b19d9515f00c0eac85876363f5.tar.gz openshift-f2b14d2e76d8a9b19d9515f00c0eac85876363f5.tar.bz2 openshift-f2b14d2e76d8a9b19d9515f00c0eac85876363f5.tar.xz openshift-f2b14d2e76d8a9b19d9515f00c0eac85876363f5.zip | |
Split control plane and component install in deploy_cluster
Diffstat (limited to 'playbooks/aws')
| -rw-r--r-- | playbooks/aws/openshift-cluster/hosted.yml | 25 | ||||
| -rw-r--r-- | playbooks/aws/openshift-cluster/install.yml | 27 | ||||
| -rw-r--r-- | playbooks/aws/openshift-cluster/provision_install.yml | 4 | 
3 files changed, 5 insertions, 51 deletions
| diff --git a/playbooks/aws/openshift-cluster/hosted.yml b/playbooks/aws/openshift-cluster/hosted.yml deleted file mode 100644 index 9d9ed29de..000000000 --- a/playbooks/aws/openshift-cluster/hosted.yml +++ /dev/null @@ -1,25 +0,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(false) | 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 diff --git a/playbooks/aws/openshift-cluster/install.yml b/playbooks/aws/openshift-cluster/install.yml index a3fc82f9a..938e83f5e 100644 --- a/playbooks/aws/openshift-cluster/install.yml +++ b/playbooks/aws/openshift-cluster/install.yml @@ -18,29 +18,8 @@  - name: run the init    import_playbook: ../../init/main.yml -- name: perform the installer openshift-checks -  import_playbook: ../../openshift-checks/private/install.yml +- name: configure the control plane +  import_playbook: ../../common/private/control_plane.yml -- name: etcd install -  import_playbook: ../../openshift-etcd/private/config.yml - -- name: include nfs -  import_playbook: ../../openshift-nfs/private/config.yml -  when: groups.oo_nfs_to_config | default([]) | count > 0 - -- name: include loadbalancer -  import_playbook: ../../openshift-loadbalancer/private/config.yml -  when: groups.oo_lb_to_config | default([]) | count > 0 - -- name: include openshift-master config -  import_playbook: ../../openshift-master/private/config.yml - -- name: include master additional config -  import_playbook: ../../openshift-master/private/additional_config.yml - -- name: include master additional config +- name: ensure the masters are configured as nodes    import_playbook: ../../openshift-node/private/config.yml - -- name: include openshift-glusterfs -  import_playbook: ../../openshift-glusterfs/private/config.yml -  when: groups.oo_glusterfs_to_config | default([]) | count > 0 diff --git a/playbooks/aws/openshift-cluster/provision_install.yml b/playbooks/aws/openshift-cluster/provision_install.yml index f98f5be9a..bd154fa83 100644 --- a/playbooks/aws/openshift-cluster/provision_install.yml +++ b/playbooks/aws/openshift-cluster/provision_install.yml @@ -15,5 +15,5 @@  - name: Include the accept.yml playbook to accept nodes into the cluster    import_playbook: accept.yml -- name: Include the hosted.yml playbook to finish the hosted configuration -  import_playbook: hosted.yml +- name: Include the components playbook to finish the hosted configuration +  import_playbook: ../../common/private/components.yml | 
