[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

14
ansible/deploy.yml Normal file
View File

@@ -0,0 +1,14 @@
---
- hosts: all
vars:
ansible_user: "{{ deploy_user }}"
roles:
- ansible-deploy
- build
post_tasks:
- include_role:
name: ansible-deploy
tasks_from: complete.yml
- include_role:
name: service
tasks_from: restart.yml