---
consul_image: progrium/consul
consul_image_tag: latest
consul_is_server: yes
consul_dc: dc1
consul_servers_group: all
consul_advertise: "{{ ansible_default_ipv4.address }}"
consul_retry_join: "{% for host in groups[consul_servers_group] | intersect(groups[consul_dc]) %}{{ hostvars[host].ansible_default_ipv4.address }}{% if not loop.last %} -retry-join {% endif %}{% endfor %}"
consul_bootstrap_expect: "{{ groups[consul_servers_group] | intersect(groups[consul_dc]) | length }}"

---
consul_image: progrium/consul
consul_image_tag: latest
consul_is_server: yes
consul_dc: dc1
consul_servers_group: consul_servers
consul_advertise: "{{ ansible_default_ipv4.address }}"
consul_retry_join: "{% for host in groups[consul_servers_group] | intersect(groups[consul_dc]) %}{{ hostvars[host].ansible_default_ipv4.address }}{% if not loop.last %} -retry-join {% endif %}{% endfor %}"
consul_bootstrap_expect: "{{ groups[consul_servers_group] | intersect(groups[consul_dc]) | length }}"

Use consul_servers group instead of all group for bootstrap
Use consul_servers group instead of all group for bootstrap
