mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Adding consul role to all top level provisioners.
This commit is contained in:
parent
de324f58e2
commit
fcee1c44f5
9 changed files with 17 additions and 9 deletions
|
@ -25,7 +25,7 @@
|
||||||
register: consul_manager_ip
|
register: consul_manager_ip
|
||||||
delegate_to: 127.0.0.1
|
delegate_to: 127.0.0.1
|
||||||
|
|
||||||
- name: Write Manager IP to {{ ansible_ssh_host }}
|
- name: "Write Manager IP to {{ ansible_ssh_host }}"
|
||||||
copy:
|
copy:
|
||||||
content: "{{ consul_manager_ip.stdout|trim }}"
|
content: "{{ consul_manager_ip.stdout|trim }}"
|
||||||
dest: /srv/newsblur/consul/consul_manager_ip.txt
|
dest: /srv/newsblur/consul/consul_manager_ip.txt
|
||||||
|
|
|
@ -11,5 +11,6 @@
|
||||||
- base
|
- base
|
||||||
- docker
|
- docker
|
||||||
- web
|
- web
|
||||||
|
- {role: 'consul', tags: 'consul'}
|
||||||
- {role: 'nginx', tags: 'nginx'}
|
- {role: 'nginx', tags: 'nginx'}
|
||||||
- consul-client
|
- consul-client
|
||||||
|
|
|
@ -11,5 +11,6 @@
|
||||||
- base
|
- base
|
||||||
- docker
|
- docker
|
||||||
- repo
|
- repo
|
||||||
|
- {role: 'consul', tags: 'consul'}
|
||||||
- elasticsearch
|
- elasticsearch
|
||||||
- consul-client
|
- consul-client
|
||||||
|
|
|
@ -12,5 +12,6 @@
|
||||||
- base
|
- base
|
||||||
- docker
|
- docker
|
||||||
- repo
|
- repo
|
||||||
|
- {role: 'consul', tags: 'consul'}
|
||||||
- mongo
|
- mongo
|
||||||
- consul-client
|
- consul-client
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
- base
|
- base
|
||||||
- docker
|
- docker
|
||||||
- repo
|
- repo
|
||||||
|
- {role: 'consul', tags: 'consul'}
|
||||||
- node
|
- node
|
||||||
- consul-client
|
- consul-client
|
||||||
|
|
||||||
|
|
|
@ -13,5 +13,6 @@
|
||||||
- base
|
- base
|
||||||
- docker
|
- docker
|
||||||
- repo
|
- repo
|
||||||
|
- {role: 'consul', tags: 'consul'}
|
||||||
- postgres
|
- postgres
|
||||||
- consul-client
|
- consul-client
|
||||||
|
|
|
@ -11,5 +11,6 @@
|
||||||
- base
|
- base
|
||||||
- docker
|
- docker
|
||||||
- repo
|
- repo
|
||||||
|
- {role: 'consul', tags: 'consul'}
|
||||||
- redis
|
- redis
|
||||||
- consul-client
|
- consul-client
|
||||||
|
|
|
@ -11,5 +11,6 @@
|
||||||
- base
|
- base
|
||||||
- docker
|
- docker
|
||||||
- repo
|
- repo
|
||||||
|
- {role: 'consul', tags: 'consul'}
|
||||||
- celery_task
|
- celery_task
|
||||||
- consul-client
|
- consul-client
|
||||||
|
|
|
@ -8,10 +8,11 @@
|
||||||
- env_vars/base.yml
|
- env_vars/base.yml
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
- docker
|
- docker
|
||||||
- {role: 'repo', tags: 'repo'}
|
- {role: 'repo', tags: 'repo'}
|
||||||
- {role: 'letsencrypt', tags: 'letsencrypt'}
|
- {role: 'letsencrypt', tags: 'letsencrypt'}
|
||||||
- monitor
|
- monitor
|
||||||
- consul-client
|
- {role: 'consul', tags: 'consul'}
|
||||||
- {role: 'haproxy', tags: 'haproxy'}
|
- consul-client
|
||||||
|
- {role: 'haproxy', tags: 'haproxy'}
|
||||||
|
|
Loading…
Add table
Reference in a new issue