[server] host from args

This commit is contained in:
2018-03-29 15:04:30 +03:00
parent c8448b7848
commit c603753226
10 changed files with 42 additions and 18 deletions

View File

@@ -18,7 +18,7 @@
dest: "{{ project_dir }}/current"
state: link
- name: "restart {{ project_name }} service"
systemd:
state: restarted
name: "{{ project_name }}"
#- name: "restart {{ project_name }} service"
# systemd:
# state: restarted
# name: "{{ project_name }}"

View File

@@ -2,6 +2,7 @@
git:
repo: "{{ repo_url }}"
dest: "{{ project_dir }}/repo"
version: ansible
- name: Creates directory for release
file: