Skip to content

About

Balanced's devpi Installation

Resources

Stars

1 star

Watchers

4 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

devpi Build Status

The intention of this playbook is to be used behind an Elastic Load Balancer that has SSL termination.

installing ansible

workon ansible-venv
git clone git@github.com:ansible/ansible.git
git submodule update --init --recursive
cd ansible
pip install .
cd ../

installing confu

workon ansible-venv
pip install con-fu

Run w/ Vagrant

workon ansible-venv
vagrant up --provision

Installing roles

ansible-galaxy install -r requirements.yml -p `pwd`/roles

Re-installing roles

ansible-galaxy install -r requirements.yml -p `pwd`/roles --ignore-errors

Debugging while running vagrant

Collect facts

ansible -i ./vagrant_ansible_inventory_default all -m ec2_facts -u vagrant -vvv -c ssh --private-key ~/.vagrant.d/insecure_private_key

Execute a playbook

ansible-playbook -i ./vagrant_ansible_inventory_default -u vagrant -vvv -c ssh --private-key ~/.vagrant.d/insecure_private_key site.yml

Gotachas

  • 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

About

Balanced's devpi Installation

Resources

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages