Remove nginx config, move into provision playbook
This commit is contained in:
parent
8b69295b06
commit
f18f407a4e
5 changed files with 167 additions and 156 deletions
|
@ -1,6 +1,9 @@
|
|||
---
|
||||
- hosts: web
|
||||
|
||||
vars_files:
|
||||
- ./vars/vars.yml
|
||||
|
||||
vars_prompt:
|
||||
- name: git_branch
|
||||
prompt: 'Enter a branch to deploy'
|
||||
|
@ -8,9 +11,10 @@
|
|||
private: false
|
||||
|
||||
vars:
|
||||
ansistrano_deploy_to: /var/www/oliverdavies.uk
|
||||
ansistrano_deploy_to: "/srv/{{ server_name }}"
|
||||
ansistrano_deploy_via: git
|
||||
ansistrano_git_repo: https://github.com/opdavies/oliverdavies.uk.git
|
||||
ansistrano_git_branch: "{{ git_branch }}"
|
||||
ansistrano_shared_paths:
|
||||
- node_modules
|
||||
ansistrano_keep_releases: 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue