MasterprojectOpenStack1516 / sourcecode

GNU General Public License v2.0
2 stars 2 forks source link

implement parts of installation.sh script with ansible #1

Closed roschaefer closed 8 years ago

roschaefer commented 8 years ago

@DukeHarris @espspinix @snrlx review please

roschaefer commented 8 years ago

install the virtualbox and run the provisioner with vagrant up

roschaefer commented 8 years ago

@espspinix @snrlx Okay guys, the ansible.cfg did the trick. If you run ansible-playbook -i inventory playbook.yml from inside the HPI network, you will run the playbook on my workstation. However, I will shutdown the machine for now ;)

roschaefer commented 8 years ago

And please: Could we keep pull requests as small as possible? I can see two completely different tasks being solved here. For the sake of less headache and easier PR reviews :+1:

roschaefer commented 8 years ago

@espspinix review please rebased and squashed

roschaefer commented 8 years ago

OK @espspinix and I we tried&errored how to use different configurations for different hosts.

Now, if you want to run the ansible playbook on my workstation you run ansible-playbook -i inventory playbook.yml --ask-pass --ask-become-pass and you will be prompted for the user and sudo password (same) on the workstation.

If you run vagrant provision you will not be prompted for any password.

roschaefer commented 8 years ago

@espspinix please merge :kissing_cat:

espspinix commented 8 years ago

Merged! :beer: