summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/README.md
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2017-11-01 11:33:38 +0100
committerTomas Sedovic <tomas@sedovic.cz>2017-11-07 14:35:47 +1100
commit88907aca794716d1a2db4cc31e03375720695424 (patch)
tree9d508096dbac5badabf6c464efbdacfc78893c60 /playbooks/openstack/README.md
parent84259a3ed4ac741ee782f57884ba36729e277eae (diff)
downloadopenshift-88907aca794716d1a2db4cc31e03375720695424.tar.gz
openshift-88907aca794716d1a2db4cc31e03375720695424.tar.bz2
openshift-88907aca794716d1a2db4cc31e03375720695424.tar.xz
openshift-88907aca794716d1a2db4cc31e03375720695424.zip
Use the existing ansible.cfg file
Diffstat (limited to 'playbooks/openstack/README.md')
-rw-r--r--playbooks/openstack/README.md15
1 files changed, 7 insertions, 8 deletions
diff --git a/playbooks/openstack/README.md b/playbooks/openstack/README.md
index 875004cc9..4347ddaa8 100644
--- a/playbooks/openstack/README.md
+++ b/playbooks/openstack/README.md
@@ -197,27 +197,26 @@ the [advanced configuration][advanced-configuration].
### 3. Creating the OpenStack resources (VMs, networking, etc.)
-We will install the DNS server roles using ansible galaxy and then run
-the openstack provisioning playbook. The `ansible.cfg` file we provide
-has useful defaults -- copy it to the directory you're going to run
-Ansible from.
+We provide an `ansible.cfg` file which has some useful defaults -- you should
+copy it to the directory you're going to run `ansible-playbook` from.
```bash
-$ ansible-galaxy install -r openshift-ansible/playbooks/openstack/galaxy-requirements.yaml -p openshift-ansible/roles
-$ cp openshift-ansible/playbooks/openstack/ansible.cfg ansible.cfg
+$ cp openshift-ansible/ansible.cfg ansible.cfg
```
-(you will only need to do this once)
Then run the provisioning playbook -- this will create the OpenStack
resources:
```bash
-$ ansible-playbook -i inventory openshift-ansible/playbooks/openstack/openshift-cluster/provision.yaml
+$ ansible-playbook --user openshift -i inventory openshift-ansible/playbooks/openstack/openshift-cluster/provision.yaml
```
If you're using multiple inventories, make sure you pass the path to
the right one to `-i`.
+If your SSH private key is not in `~/.ssh/id_rsa` use the `--private-key`
+option to specify the correct path.
+
### 4. Installing OpenShift