This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/ansible/deploy.yml

27 lines
753 B
YAML
Raw Normal View History

2017-10-29 19:25:30 +00:00
---
- hosts: web
vars_files:
- ./vars/vars.yml
2017-11-01 22:03:24 +00:00
vars_prompt:
- name: git_branch
prompt: 'Enter a branch to deploy'
default: master
private: false
2017-10-29 19:25:30 +00:00
vars:
ansistrano_deploy_to: "/srv/{{ server_name }}"
2017-10-30 00:15:20 +00:00
ansistrano_deploy_via: git
ansistrano_git_repo: https://github.com/opdavies/oliverdavies.uk.git
ansistrano_git_branch: "{{ git_branch }}"
2017-10-29 19:25:30 +00:00
ansistrano_shared_paths:
- node_modules
ansistrano_keep_releases: 3
ansistrano_allow_anonymous_stats: false
2017-11-02 22:21:02 +00:00
ansistrano_after_symlink_shared_tasks_file: "{{ playbook_dir }}/deploy/after-symlink-shared.yml"
ansistrano_after_symlink_tasks_file: "{{ playbook_dir }}/deploy/after-symlink.yml"
2017-10-29 19:25:30 +00:00
roles:
- carlosbuenosvinos.ansistrano-deploy