You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a rookie to ansible, I have some questions to bind them togetother:
There is a variable: zookeeper_client_port: "2181" in ansible-mesos, but not in ansible-marathon.
Both ansible-mesos and ansible-marathon have zookeeper_hostnames, how can I set a global variable for them?
ansible-mesos readme write as zookeeper_hostnames: "{{ groups.zookeeper_hosts | join(':' + zookeeper_client_port + ',') }}:{{ zookeeper_client_port }}. ( I think groups.zookeeper_hosts equals to groups[zookeeper_hosts] here, isn't it ). But in ansible-zookeeper, the example is zookeeper_hosts: "{{groups['zookeepers']}}".
Hello!
As a rookie to ansible, I have some questions to bind them togetother:
zookeeper_client_port: "2181"
inansible-mesos
, but not inansible-marathon
.zookeeper_hostnames
, how can I set a global variable for them?ansible-mesos
readme write aszookeeper_hostnames: "{{ groups.zookeeper_hosts | join(':' + zookeeper_client_port + ',') }}:{{ zookeeper_client_port }}
. ( I thinkgroups.zookeeper_hosts
equals togroups[zookeeper_hosts]
here, isn't it ). But inansible-zookeeper
, the example iszookeeper_hosts: "{{groups['zookeepers']}}"
.Now, I write a .yml like below:
If there are a full example would be nice for learn and reuse.
The text was updated successfully, but these errors were encountered: