Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
# Instead of cloning the Git repo and building like the "deploy" playbook, this
# playbook links your local working project directory into the Vagrant box so
# that you can instantly preview your local changes on the server, for
# convenience while developing. While in this mode, all building will have to
# be done manually, at the command line of your development machine. Running
# this playbook will override the deploy playbook, and vice-versa.
- hosts: vagrant
become: yes
become_method: sudo
- name: link vagrant synced directory to make it live
file: path={{site_path}} state=link src={{synced_folder}} force=yes