mq_broker_config
Update Amazon MQ broker configuration
Collection: community.aws
Full Name: community.aws.mq_broker_config
Synopsis
Update Amazon MQ broker configuration
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| broker_id | str | yes | ||
| config_description | str | |||
| config_xml | str | yes | ||
| debug_botocore_endpoint_logs | bool | false | ||
| endpoint_url | str | |||
| profile | str | |||
| reboot | bool | false | ||
| region | str | |||
| secret_key | str | |||
| session_token | str | |||
| validate_certs | bool | true |
Example
yaml
- name: send new XML config to broker relying on credentials from environment
community.aws.mq_broker_config:
broker_id: "aws-mq-broker-id"
config_xml: "{{ lookup('file', 'activemq.xml' )}}"
region: "{{ aws_region }}"
- name: send new XML config to broker and reboot if necessary
community.aws.mq_broker_config:
broker_id: "aws-mq-broker-id"
config_xml: "{{ lookup('file', 'activemq2.xml' )}}"
reboot: true
- name: send new broker config and set all credentials explicitly
community.aws.mq_broker_config:
broker_id: "{{ broker_id }}"
config_xml: "{{ lookup('file', 'activemq3.xml')}}"
config_description: "custom description for configuration object"
register: result