The intention of this playbook is to be used behind an Elastic Load Balancer that has SSL termination.
workon ansible-venv
git clone git@github.com:ansible/ansible.git
git submodule update --init --recursive
cd ansible
pip install .
cd ../workon ansible-venv
pip install con-fuworkon ansible-venv
vagrant up --provisionansible-galaxy install -r requirements.yml -p `pwd`/rolesansible-galaxy install -r requirements.yml -p `pwd`/roles --ignore-errorsansible -i ./vagrant_ansible_inventory_default all -m ec2_facts -u vagrant -vvv -c ssh --private-key ~/.vagrant.d/insecure_private_keyansible-playbook -i ./vagrant_ansible_inventory_default -u vagrant -vvv -c ssh --private-key ~/.vagrant.d/insecure_private_key site.yml- setup ansbile inside virtualenv and run it from there
- make sure you synced over your folders (TODO: make this part of the play)
- if you use vagrant, destroy the VM, and re-provision it, you have to delete the host file key otherwise ansible can't start