Ansible playbook to install and run Postleaf CMS on Ubuntu/Debian servers.
Postleaf: 1.0.0-alpha.3
NOTE: The following instructions are for Ubuntu 16.04
- First add the Ansible PPA (after which you'll need to press ENTER to confirm):
sudo apt-add-repository ppa:ansible/ansible
- Update system's package index:
sudo apt-get update
- Install Ansible:
sudo apt-get install -y ansible
- Install git:
sudo apt-get install -y git
- Change into home directory:
cd ~
- Clone repo:
git clone /~https://github.com/lukewatts/postleaf-playbook.git
- Change directory into repo:
cd ~/postleaf-playbook
- Set your
app_url
variable in site.yml under vars to your ip or domain (no trialing slash):app_url: https://example.com
- Run playbook:
ansible-playbook site.yml
If you experience issues with CSS not loading correctly please verify the app_url
var in site.yml
is correct. No trailing slash and include the protocol.
CORRECT: http://127.0.0.1
or https://example.com
INCORRECT: localhost
or http://127.0.0.1/
MIT
© 2017 Luke Watts