forked from Capgemini/Apollo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vagrant
20 lines (19 loc) · 836 Bytes
/
vagrant
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
mesos_cluster_name: "Vagrant"
consul_dc: vagrant
mesos_ip: "{{ ansible_eth1.ipv4.address }}"
consul_advertise: "{{ ansible_eth1.ipv4.address }}"
consul_bind_addr: "{{ ansible_eth1.ipv4.address }}"
marathon_hostname: "{{ ansible_eth1.ipv4.address }}"
mesos_hostname: "{{ ansible_eth1.ipv4.address }}"
frameworks_marathon_url: "http://{{ ansible_eth1.ipv4.address }}:8080"
frameworks_mesos_master_url: "http://{{ ansible_eth1.ipv4.address }}:5050"
registrator_uri: "consul://{{ ansible_eth1.ipv4.address }}:8500"
weave_launch_peers: "
{%- set weave_peers = [] -%}
{%- for host in groups[weave_server_group] -%}
{%- if host != inventory_hostname and host not in weave_peers -%}
{% do weave_peers.append(hostvars[host]['ansible_eth1']['ipv4']['address']) %}
{%- endif -%}
{%- endfor -%}
{{ weave_peers|join(' ') }}
"