diff options
author | Jhon Honce <jhonce@redhat.com> | 2015-03-06 13:52:20 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2015-03-24 11:19:05 -0700 |
commit | 3324b6c8889074ee17d7be05588de8b58aa3774f (patch) | |
tree | e0bbe1b7eff59b576cdb4b25d83ddfb863e0a9cb | |
parent | 9199379f94f6b11a4841e31f6c58a11c1e9f8c3a (diff) | |
download | openshift-3324b6c8889074ee17d7be05588de8b58aa3774f.tar.gz openshift-3324b6c8889074ee17d7be05588de8b58aa3774f.tar.bz2 openshift-3324b6c8889074ee17d7be05588de8b58aa3774f.tar.xz openshift-3324b6c8889074ee17d7be05588de8b58aa3774f.zip |
Use ansible playbook to initialize openshift cluster
* Added playbooks/gce/openshift-cluster
* Added bin/cluster (will replace cluster.sh)
-rw-r--r-- | playbooks/gce/openshift-node/config.yml | 1 | ||||
-rw-r--r-- | roles/openshift_common/tasks/main.yml | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/gce/openshift-node/config.yml b/playbooks/gce/openshift-node/config.yml index 17631d578..7f80b90a7 100644 --- a/playbooks/gce/openshift-node/config.yml +++ b/playbooks/gce/openshift-node/config.yml @@ -53,6 +53,7 @@ roles: - openshift_register_nodes tasks: + tasks: - name: Create local temp directory for syncing certs local_action: command /usr/bin/mktemp -d /tmp/openshift-ansible-XXXXXXX register: mktemp diff --git a/roles/openshift_common/tasks/main.yml b/roles/openshift_common/tasks/main.yml index 07737a71f..656a3880d 100644 --- a/roles/openshift_common/tasks/main.yml +++ b/roles/openshift_common/tasks/main.yml @@ -2,6 +2,9 @@ - name: Set hostname hostname: name={{ openshift_hostname }} +- name: Update all packages + yum: name=* state=latest + - name: Configure local facts file file: path=/etc/ansible/facts.d/ state=directory mode=0750 |