dransible-old/ansible/deploy.yml
2019-01-23 12:51:15 +00:00

21 lines
563 B
YAML

---
- hosts: dransible
become: true
roles:
- ansistrano.deploy
vars_files:
- vars/vars.yml
vars:
ansistrano_deploy_via: "rsync"
ansistrano_deploy_from: "{{ playbook_dir }}/../"
ansistrano_deploy_to: "{{ app_project_root }}"
ansistrano_keep_releases: 5
ansistrano_after_symlink_shared_tasks_file: "{{ playbook_dir }}/deploy/after-symlink-shared.yml"
ansistrano_shared_paths:
- "{{ app_project_subdir }}/sites/default/files"
ansistrano_shared_files:
- "{{ app_project_subdir }}/sites/default/settings.php"