mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
add consul-manager.yml role
This commit is contained in:
parent
a25b08dadd
commit
c8d79e3666
1 changed files with 13 additions and 0 deletions
13
ansible/roles/consul-manager/tasks/main.yml
Normal file
13
ansible/roles/consul-manager/tasks/main.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
- name: Start registrator Docker container
|
||||
become: yes
|
||||
docker_container:
|
||||
name: consul-{{ ansible_hostname }}
|
||||
image: progrium/consul
|
||||
restart_policy: always
|
||||
state: started
|
||||
command: -server -bootstrap -ui-dir /ui
|
||||
ports:
|
||||
- 8500:8500
|
||||
- 8400:8400
|
||||
- 8600:53/udp
|
Loading…
Add table
Reference in a new issue