[add] ansible deploy

This commit is contained in:
2020-01-15 20:20:45 +03:00
parent 7f03514c3e
commit 527c6c53f6
15 changed files with 89 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
---
- name: "Copy config"
copy:
src: "{{ config_src }}"
dest: "{{ config_dest }}"
remote_src: true
- name: "Gulp build"
command: "{{ deploy_release_dir }}/node_modules/.bin/gulp default"
args:
chdir: "{{ deploy_release_dir }}"