tokenbridge/deployment/roles/oracle/tasks/servinstall.yml
Przemyslaw Rzad 11c1595dd6
Role rework plus deployment tests (#116)
* Role-rework

* Update readme.
2019-07-02 13:10:46 +02:00

18 lines
551 B
YAML

# This role creates a poabridge service which is designed to manage docker-compose bridge deployment.
# /etc/init.d/poabridge start, status, stop, restart - does what the services usually do in such cases.
# /etc/init.d/poabridge rebuild - builds a new bridge deployment from scratch.
---
- name: "Set poabridge service"
template:
src: poabridge.j2
dest: "/etc/init.d/poabridge"
owner: root
mode: 755
- name: "Start/Enable poabridge service"
service:
name: "poabridge"
state: started
enabled: yes
use: service