Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hosts
password
roles
vars
.gitignore
LICENSE
README.md
Vagrantfile
ansible.cfg
dbservers.yml
requirements.txt
site.yml
vault-password.txt.gpg
webservers.yml

README.md

ansible-playbook-sharepear

Create server for Sharepear website.

Install

Clone repository:

git clone git@github.com:sharepear/ansible-playbook-sharepear.git
git clone git@github.com:sharepear/sharepear.git

Download Ansible roles:

ansible-galaxy install -r requirements.txt --force

Development

Add dev host

sudo ansible localhost -m lineinfile -a "dest=/etc/hosts regexp='^199\.199\.199\.199' line='199.199.199.199 sharepear.dev'"

Launch the vagrant box

vagrant up

Prod

Decrypt vault-password file

gpg --output vault-password.txt --decrypt vault-password.txt.gpg

Launch provisioning

ansible-playbook -i hosts/prod site.yml -vvvv --vault-password-file vault-password.txt

License

Licensed under the MIT License. See the LICENSE file for details.

You can’t perform that action at this time.