[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

@@ -0,0 +1 @@
service_host: localhost

View File

@@ -5,5 +5,5 @@ 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_command: "/usr/bin/neko {{ project_dir }}/current/target/{{ project_name }}.n {{ service_host }}"
service_user: www-data