diff --git a/templates/ceilometer.conf.j2 b/templates/ceilometer.conf.j2 index 8e2c3986..53bbda06 100644 --- a/templates/ceilometer.conf.j2 +++ b/templates/ceilometer.conf.j2 @@ -95,7 +95,7 @@ messaging_urls = rabbit://{{ keystone_rabbitmq_telemetry_userid }}:{{ keystone_r {% if swift_ceilometer_enabled %} # Ceilometer notifications {% for host in groups[swift_rabbitmq_telemetry_host_group] %} -messaging_urls = rabbit://{{ swift_rabbitmq_telemetry_userid }}:{{ swift_rabbitmq_telemetry_password }}@{{ hostvars[host]['ansible_ssh_host'] }}:{{ swift_rabbitmq_telemetry_port }}/{{ swift_rabbitmq_telemetry_vhost }} +messaging_urls = rabbit://{{ swift_rabbitmq_telemetry_userid }}:{{ swift_rabbitmq_telemetry_password }}@{{ hostvars[host]['ansible_host'] }}:{{ swift_rabbitmq_telemetry_port }}/{{ swift_rabbitmq_telemetry_vhost }} {% endfor %} {% endif %} diff --git a/tests/test-install-mongodb.yml b/tests/test-install-mongodb.yml index 47ed1f94..e818e2a0 100644 --- a/tests/test-install-mongodb.yml +++ b/tests/test-install-mongodb.yml @@ -57,7 +57,7 @@ - mongodb_restart | changed - name: Test mongodb connectivity - command: "mongo --host {{ ansible_ssh_host }} --eval ' '" + command: "mongo --host {{ ansible_host }} --eval ' '" changed_when: False - name: Add admin user