Skip to content

Commit

Permalink
fix __hs_consul_is_minion logic
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelienmaury committed Apr 19, 2024
1 parent 66056e2 commit cbc9814
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions roles/consul/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ __hs_consul_is_master: >-
{{
inventory_hostname in groups[hs_consul_inventory_masters_group]
}}
__hs_consul_is_minion: "{{ not __hs_consul_is_master }}"

__hs_consul_is_minion: >-
{{
inventory_hostname in groups[hs_consul_inventory_minions_group]
}}
__hs_consul_is_multi_nodes: >-
{{
Expand Down

0 comments on commit cbc9814

Please sign in to comment.