Skip to content

Commit

Permalink
Add auditor specific config in deploy on AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
suizman committed Mar 29, 2019
1 parent 90d56e5 commit d2b4e30
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy/aws/provision/templates/qed-config.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ agent:
{% for host in groups['name_qed-0'] %}
- "{{ hostvars[host]['ansible_eth0']['ipv4']['address'] }}:8400"
{% endfor %}
{% if 'role_auditor' in group_names %}
QEDUrls:
{% for host in groups['name_qed-0'] %}
- "{{ hostvars[host]['ansible_eth0']['ipv4']['address'] }}:8800"
{% endfor %}
{% endif %}
server_urls:
{% for host in groups['name_qed-1'] %}
- "http://{{ hostvars[host]['ansible_eth0']['ipv4']['address'] }}:8800"
Expand Down

0 comments on commit d2b4e30

Please sign in to comment.