Skip to content

Commit

Permalink
Merge pull request #12 from infrawatch/csibbitt-STF111-fix-fqdn
Browse files Browse the repository at this point in the history
Fix missing ansible_fqdn
  • Loading branch information
csibbitt authored Jul 14, 2021
2 parents 84e353a + 9a1273e commit b456651
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/qdrouterd.conf.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
router {
mode: {{qdr_router_mode}}
id: {{qdr_router_id | default("Router." + ansible_fqdn)}}
id: {{qdr_router_id | default("Router." + ansible_facts['fqdn'])}}
workerThreads: {{qdr_router_worker_threads}}
debugDumpFile: {{qdr_router_debug_dump}}
saslConfigDir: {{qdr_router_sasl_path}}
Expand All @@ -9,7 +9,7 @@ router {

{% if qdr_listener_require_ssl %}
sslProfile {
name: {{qdr_router_id | default("Router." + ansible_fqdn)}}
name: {{qdr_router_id | default("Router." + ansible_facts['fqdn'])}}
caCertFile: {{qdr_listener_ssl_cert_db}}
certFile: {{qdr_listener_ssl_cert_file}}
keyFile: {{qdr_listener_ssl_key_file}}
Expand All @@ -36,7 +36,7 @@ listener {
host: {{qdr_listener_addr}}
port: {{qdr_listener_port}}
{% if qdr_listener_require_ssl %}
sslProfile: {{qdr_router_id | default("Router." + ansible_fqdn)}}
sslProfile: {{qdr_router_id | default("Router." + ansible_facts['fqdn'])}}
{% endif %}
authenticatePeer: {{qdr_listener_auth_peer}}
saslMechanisms: {{qdr_listener_sasl_mech}}
Expand Down

0 comments on commit b456651

Please sign in to comment.