PARALLAX

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

NameTypeRequiredDefaultDescription
access_keystr
aws_ca_bundlepath
aws_configdict
broker_idstryes
config_descriptionstr
config_xmlstryes
debug_botocore_endpoint_logsboolfalse
endpoint_urlstr
profilestr
rebootboolfalse
regionstr
secret_keystr
session_tokenstr
validate_certsbooltrue

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
Search
    ↑ ↓ move↵ openesc close