The intention of this playbook is to be used behind an Elastic Load Balancer that has SSL termination.
workon ansible-venv
git clone [email protected]:ansible/ansible.git
git submodule update --init --recursive
cd ansible
pip install .
cd ../
workon ansible-venv
pip install con-fu
workon ansible-venv
vagrant up --provision
ansible-galaxy install -r requirements.yml -p `pwd`/roles
ansible-galaxy install -r requirements.yml -p `pwd`/roles --ignore-errors
ansible -i ./vagrant_ansible_inventory_default all -m ec2_facts -u vagrant -vvv -c ssh --private-key ~/.vagrant.d/insecure_private_key
ansible-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