Adding consul role to all top level provisioners.

This commit is contained in:
Samuel Clay 2021-02-10 18:43:47 -05:00
parent de324f58e2
commit fcee1c44f5
9 changed files with 17 additions and 9 deletions

View file

@ -25,7 +25,7 @@
register: consul_manager_ip
delegate_to: 127.0.0.1
- name: Write Manager IP to {{ ansible_ssh_host }}
- name: "Write Manager IP to {{ ansible_ssh_host }}"
copy:
content: "{{ consul_manager_ip.stdout|trim }}"
dest: /srv/newsblur/consul/consul_manager_ip.txt

View file

@ -11,5 +11,6 @@
- base
- docker
- web
- {role: 'consul', tags: 'consul'}
- {role: 'nginx', tags: 'nginx'}
- consul-client

View file

@ -11,5 +11,6 @@
- base
- docker
- repo
- {role: 'consul', tags: 'consul'}
- elasticsearch
- consul-client

View file

@ -12,5 +12,6 @@
- base
- docker
- repo
- {role: 'consul', tags: 'consul'}
- mongo
- consul-client

View file

@ -13,6 +13,7 @@
- base
- docker
- repo
- {role: 'consul', tags: 'consul'}
- node
- consul-client

View file

@ -13,5 +13,6 @@
- base
- docker
- repo
- {role: 'consul', tags: 'consul'}
- postgres
- consul-client

View file

@ -11,5 +11,6 @@
- base
- docker
- repo
- {role: 'consul', tags: 'consul'}
- redis
- consul-client

View file

@ -11,5 +11,6 @@
- base
- docker
- repo
- {role: 'consul', tags: 'consul'}
- celery_task
- consul-client
- consul-client

View file

@ -8,10 +8,11 @@
- env_vars/base.yml
roles:
- base
- docker
- {role: 'repo', tags: 'repo'}
- {role: 'letsencrypt', tags: 'letsencrypt'}
- monitor
- consul-client
- {role: 'haproxy', tags: 'haproxy'}
- base
- docker
- {role: 'repo', tags: 'repo'}
- {role: 'letsencrypt', tags: 'letsencrypt'}
- monitor
- {role: 'consul', tags: 'consul'}
- consul-client
- {role: 'haproxy', tags: 'haproxy'}