GithubHelp home page GithubHelp logo

Comments (4)

MrMMorris avatar MrMMorris commented on July 20, 2024

it seems to only happen on the server that is last in the list. The other 2 are fine.

Pinging @Suvitruf who made the change

from ansible-consul.

echupriyanov avatar echupriyanov commented on July 20, 2024

Quick patch:

eric@iMac-Eric /V/D/W/s/a/c/r/ansible-consul> git diff templates/consul.json.j2 
diff --git a/templates/consul.json.j2 b/templates/consul.json.j2
index 84de291..d8df6a2 100644
--- a/templates/consul.json.j2
+++ b/templates/consul.json.j2
@@ -3,7 +3,7 @@
   "ui_dir": "{{ consul_ui_dir }}",
 {% endif %}
 {% if consul_join_at_start is defined and consul_join_at_start %}
-  "start_join": [{% for host in consul_servers %}{% if host not in ansible_all_ipv4_addresses %}"{{host}}"{% if not loop.last %}, {% endif %}{% endif %}{% endfor %}],
+  "start_join": [{% for host in consul_servers %}"{{host}}"{% if not loop.last %}, {% endif %}{% endfor %}],
 {% endif %}
 {% if consul_disable_remote_exec is defined %}
   "disable_remote_exec": {{ "true" if consul_disable_remote_exec else "false" }},
eric@iMac-Eric /V/D/W/s/a/c/r/ansible-consul> 

Fixes this particular issue

from ansible-consul.

MrMMorris avatar MrMMorris commented on July 20, 2024

merging spree! thanks @savagegus 😄

from ansible-consul.

mattfinlayson avatar mattfinlayson commented on July 20, 2024

👍

On Thu, Jan 14, 2016 at 1:58 PM, Marcus Morris [email protected]
wrote:

merging spree! thanks @savagegus https://github.com/savagegus [image:
😄]


Reply to this email directly or view it on GitHub
#88 (comment)
.

from ansible-consul.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.