diff options
author | Jhon Honce <jhonce@redhat.com> | 2015-04-27 15:04:57 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2015-05-29 14:36:56 -0700 |
commit | 1b4526d677651cb3677cbf7cc687a76fcba47c9a (patch) | |
tree | 88d3c99e92ac60db6f27971afd4e8fa794ec9f5c /playbooks/gce/openshift-cluster | |
parent | 43d08da2a4af64015cd0fd83b36d843e51b21b0d (diff) | |
download | openshift-1b4526d677651cb3677cbf7cc687a76fcba47c9a.tar.gz openshift-1b4526d677651cb3677cbf7cc687a76fcba47c9a.tar.bz2 openshift-1b4526d677651cb3677cbf7cc687a76fcba47c9a.tar.xz openshift-1b4526d677651cb3677cbf7cc687a76fcba47c9a.zip |
[WIP] Infrastructure - Deploy services in cluster
* Create OpenShift Docker Registry
* Create OpenShift router
Diffstat (limited to 'playbooks/gce/openshift-cluster')
-rw-r--r-- | playbooks/gce/openshift-cluster/launch.yml | 15 | ||||
-rw-r--r-- | playbooks/gce/openshift-cluster/list.yml | 2 |
2 files changed, 16 insertions, 1 deletions
diff --git a/playbooks/gce/openshift-cluster/launch.yml b/playbooks/gce/openshift-cluster/launch.yml index 771f51e91..36fc430aa 100644 --- a/playbooks/gce/openshift-cluster/launch.yml +++ b/playbooks/gce/openshift-cluster/launch.yml @@ -23,6 +23,21 @@ cluster: "{{ cluster_id }}" type: "{{ k8s_type }}" + - set_fact: + oo_first_master: "{{ item }}" + with_items: master_names.split() + - debug: var=oo_first_master + - include: update.yml +- name: Deploy OpenShift Services + hosts: oo_first_master + connection: ssh + gather_facts: yes + vars_files: + - vars.yml + roles: + - openshift_docker_registry + - openshift_router + - include: list.yml diff --git a/playbooks/gce/openshift-cluster/list.yml b/playbooks/gce/openshift-cluster/list.yml index 962381306..5ba0f5a48 100644 --- a/playbooks/gce/openshift-cluster/list.yml +++ b/playbooks/gce/openshift-cluster/list.yml @@ -16,7 +16,7 @@ ansible_sudo: "{{ deployment_vars[deployment_type].sudo }}" with_items: groups[scratch_group] | default([]) | difference(['localhost']) | difference(groups.status_terminated) -- name: List Hosts +- name: List instance(s) hosts: oo_list_hosts gather_facts: no tasks: |