[ansible] added deploy role

This commit is contained in:
2018-03-28 16:38:16 +03:00
parent f6ebec32ca
commit 6d2a1a002b
26 changed files with 129 additions and 139 deletions

View File

@@ -0,0 +1,9 @@
ansible_become: yes
ansible_user: barin
ansible_become_pass: 1234!QAZ
service_name: "{{ project_name }}"
service_description: "{{ project_smartname }} server"
service_work_dir: "{{ project_dir }}/current/target"
service_command: "/usr/bin/neko {{ project_dir }}/current/target/{{ project_name }}.n"
service_user: www-data