update docs to point out sudo -i for running the instance setup commands

This commit is contained in:
Seth Vidal 2012-10-31 15:22:43 +00:00
parent 37ebd0d99d
commit 891b39fcfa

7
README
View file

@ -27,12 +27,15 @@ to startup a new cloud instance and configure for basic server use run (as
root): root):
el6: el6:
ansible-playbook /srv/web/infra/ansible/playbooks/el6-temp-instance.yml sudo -i ansible-playbook /srv/web/infra/ansible/playbooks/el6-temp-instance.yml
f17: f17:
ansible-playbook /srv/web/infra/ansible/playbooks/f17-temp-instance.yml sudo -i ansible-playbook /srv/web/infra/ansible/playbooks/f17-temp-instance.yml
The -i is important - ansible's tools need access to root's sshagent as well
as the cloud credentials to run the above playbooks successfully.
This will setup a new instance, provision it and email sysadmin-main that This will setup a new instance, provision it and email sysadmin-main that
the instance was created, it's instance id (for terminating it, attaching the instance was created, it's instance id (for terminating it, attaching
volumes, etc) and it's ip address. volumes, etc) and it's ip address.