[ansible] added service role

This commit is contained in:
2018-03-26 22:06:22 +03:00
parent 7a57f22967
commit f6ebec32ca
7 changed files with 29 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
- name: install tankz systemd unit file
template: src=template/tankz.j2 dest=/etc/systemd/system/tankz.service
- name: start tankz
systemd: state=started name=tankz daemon_reload=yes