diff --git a/defaults/main.yml b/defaults/main.yml index 69e1a1b1..c503c282 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -66,6 +66,7 @@ ceilometer_oslomsg_rpc_transport: "{{ oslomsg_rpc_transport | default('rabbit') ceilometer_oslomsg_rpc_port: "{{ oslomsg_rpc_port | default('5672') }}" ceilometer_oslomsg_rpc_use_ssl: "{{ oslomsg_rpc_use_ssl | default(False) }}" ceilometer_oslomsg_rpc_userid: ceilometer +ceilometer_oslomsg_rpc_policies: [] # vhost name depends on value of oslomsg_rabbit_quorum_queues. In case quorum queues # are not used - vhost name will be prefixed with leading `/`. ceilometer_oslomsg_rpc_vhost: @@ -88,6 +89,7 @@ ceilometer_oslomsg_notify_password: "{{ ceilometer_oslomsg_rpc_password }}" ceilometer_oslomsg_notify_vhost: "{{ ceilometer_oslomsg_rpc_vhost }}" ceilometer_oslomsg_notify_ssl_version: "{{ oslomsg_rpc_ssl_version | default('TLSv1_2') }}" ceilometer_oslomsg_notify_ssl_ca_file: "{{ oslomsg_rpc_ssl_ca_file | default('') }}" +ceilometer_oslomsg_notify_policies: [] ## RabbitMQ integration ceilometer_oslomsg_rabbit_quorum_queues: "{{ oslomsg_rabbit_quorum_queues | default(True) }}" diff --git a/tasks/main.yml b/tasks/main.yml index a6f0a922..51be3c25 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -134,11 +134,13 @@ _oslomsg_rpc_password: "{{ ceilometer_oslomsg_rpc_password }}" _oslomsg_rpc_vhost: "{{ ceilometer_oslomsg_rpc_vhost }}" _oslomsg_rpc_transport: "{{ ceilometer_oslomsg_rpc_transport }}" + _oslomsg_rpc_policies: "{{ ceilometer_oslomsg_rpc_policies }}" _oslomsg_notify_setup_host: "{{ ceilometer_oslomsg_notify_setup_host }}" _oslomsg_notify_userid: "{{ ceilometer_oslomsg_notify_userid }}" _oslomsg_notify_password: "{{ ceilometer_oslomsg_notify_password }}" _oslomsg_notify_vhost: "{{ ceilometer_oslomsg_notify_vhost }}" _oslomsg_notify_transport: "{{ ceilometer_oslomsg_notify_transport }}" + _oslomsg_notify_policies: "{{ ceilometer_oslomsg_notify_policies }}" when: - _ceilometer_is_first_play_host tags: