This ansible script demonstrates a setup for Phabricator using Ansible on Ubuntu 16.04.
This makes it easy for anyone to get started with Phabricator quickly and easily.
Where possible, roles are taken from Ansible Galaxy, so that any extra configuration or scripting is specifically for Phabricator.
Read the blog post for this project here: Phabricator Provisioning with Vagrant and Ansible
Basic structure adapted from: https://gist.github.com/sparrc/b4eff48a3e7af8411fc1
- Ubuntu 16.04 Xenial LTS
- Nginx
- MySQL
- PHP 7.1
- Phabricator
- Phabricator Phd Daemon setup
- Phabricator Git VCS setup
- Phabricator SSHD setup
- Phabricator Alternate File Domain setup
- Phabricator weekly upgrade script
- Pygments setup
- ImageMagick setup
The scripts were tested to be working with the following setup:
- Ansible >= 2.2
- VirtualBox >= 5.1.22
- Vagrant >= 1.9.7
Using a VagrantBox to provision a local install makes it easy to debug and modify the playbook.
vagrant-hostmanager
sets a hostname for the local Phabricator install. This allows us to use a convenient url like phabricator.dev
and have Vagrant automatically manage our /etc/hosts
file.
First, install Ansible Galaxy requirements by running ansible-galaxy install -r requirements.yml
.
Use vagrant up
to boot, vagrant provision
to re-run the playbook.