Skip to content

afonsoduarte/ansible-stacey

Repository files navigation

Ansible Stacey

Ansible playbooks for provisioning a server with Nginx, PHP, Dropbox and Stacey

Run after cloning:

ansible-galaxy install -r requirements.yml

Provisioning the server

ansible-playbook -i hosts/[env] server.yml

Deploying

ansible-playbook -i hosts/[env] deploy.yml

To setup Dropbox auto updates:

  1. SSH as web user

  2. Run Dropbox with ./.dropbox-dist/dropboxd

  3. Open URL that appears and authorise access

  4. dropbox stop

  5. Move content folder to /srv/www/[website]/shared/content

  6. Symlink folder back to Dropbox, e.g. if folder was called my-content-folder:

     ln -s /srv/www/[website]/shared/content ~/Dropbox/my-content-folder
    
  7. dropbox start

About

Ansible Playbook for provisioning a server with Nginx, PHP, Dropbox and Stacey

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors