Skip to content

Instantly share code, notes, and snippets.

@rpelisse
Created June 24, 2024 15:58
Show Gist options
  • Save rpelisse/9a9a41498b940593f2c9cec14ee5a7f0 to your computer and use it in GitHub Desktop.
Save rpelisse/9a9a41498b940593f2c9cec14ee5a7f0 to your computer and use it in GitHub Desktop.
Install Apache ActiveMQ with Ansible and its dedicated collection from middleware_automation.
$ ansible-playbook -i inventory middleware_automation.amq.activemq
PLAY [Playbook for ActiveMQ Artemis] *******************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Validating arguments against arg spec 'main'] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Check prerequisites] ****************
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/prereqs.yml for localhost
TASK [middleware_automation.amq.activemq : Clear internal templating variables] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Validate credentials] ***************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Validate TLS config] ****************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Validate TLS mutual auth config] ****
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Check local download archive path] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Validate local download path] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Check downloaded archive if offline] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Validate local downloaded archive if offline] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Validate local custom template] *****
ok: [localhost]
TASK [middleware_automation.amq.activemq : Validate broker custom template] ****
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Make collection xsd available for validation] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Make collection xsd available for validation] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Make collection xml.xsd available for validation] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Ensure required packages are installed] ***
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/fastpackages.yml for localhost
TASK [middleware_automation.amq.activemq : Check if packages are already installed] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add missing packages to the install list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Install packages: ['initscripts', 'libaio', 'python3-lxml']] ***
changed: [localhost]
TASK [middleware_automation.amq.activemq : Create broker cluster node members] ***
skipping: [localhost] => (item=localhost)
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Validate broker configuration] ******
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_config.yml for localhost
TASK [middleware_automation.amq.activemq : Clear internal validation variables] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Validate configuration/core and journal configuration] ***
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=persistence_enabled)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=persist_id_cache)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=id_cache_size)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=journal_type)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=paging_directory)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=bindings_directory)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=journal_directory)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=large_messages_directory)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=journal_datasync)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=journal_min_files)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=journal_pool_files)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=journal_device_block_size)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=journal_file_size)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=journal_buffer_timeout)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=journal_max_io)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=configuration_file_refresh_period)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=global_max_messages)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=global_max_size)
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/validate_core_config.yml for localhost => (item=password_codec)
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item persistence_enabled to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item persist_id_cache to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item id_cache_size to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item journal_type to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item paging_directory to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item bindings_directory to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item journal_directory to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item large_messages_directory to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item journal_datasync to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item journal_min_files to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item journal_pool_files to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item journal_device_block_size to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item journal_file_size to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item journal_buffer_timeout to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item journal_max_io to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item configuration_file_refresh_period to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item global_max_messages to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item global_max_size to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create configuration element] *******
ok: [localhost]
TASK [middleware_automation.amq.activemq : Add item password_codec to valid element list] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create address settings configuration string] ***
ok: [localhost] => (item=activemq.management#)
ok: [localhost] => (item=#)
TASK [middleware_automation.amq.activemq : Validate address settings] **********
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create acceptor configuration string] ***
ok: [localhost] => (item=None)
ok: [localhost] => (item=None)
ok: [localhost] => (item=None)
ok: [localhost] => (item=None)
ok: [localhost] => (item=None)
ok: [localhost]
TASK [middleware_automation.amq.activemq : Validate acceptors] *****************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create final connector list using generated and declared lists] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create connector configuration string] ***
ok: [localhost] => (item=None)
ok: [localhost]
TASK [middleware_automation.amq.activemq : Validate connectors] ****************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create addresses string] ************
ok: [localhost] => (item=queue.in)
ok: [localhost] => (item=queue.out)
ok: [localhost] => (item=DLQ)
ok: [localhost] => (item=ExpiryQueue)
TASK [middleware_automation.amq.activemq : Validate addresses] *****************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create diverts configuration string] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Validate diverts] *******************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Create amqp broker connections configuration string] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Validate amqp broker connections] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Create security settings matches] ***
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
TASK [middleware_automation.amq.activemq : Create security settings] ***********
ok: [localhost] => (item={'match': '#', 'permissions': {'createNonDurableQueue': ['amq'], 'deleteNonDurableQueue': ['amq'], 'createDurableQueue': ['amq'], 'deleteDurableQueue': ['amq'], 'createAddress': ['amq'], 'deleteAddress': ['amq'], 'consume': ['amq'], 'browse': ['amq'], 'send': ['amq'], 'manage': ['amq']}})
TASK [middleware_automation.amq.activemq : Validate security settings] *********
ok: [localhost]
TASK [middleware_automation.amq.activemq : Validate custom broker.xml configuration] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Include firewall config tasks] ******
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Include install tasks] **************
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/install.yml for localhost
TASK [middleware_automation.amq.activemq : Validate parameters] ****************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create activemq service group] ******
changed: [localhost]
TASK [middleware_automation.amq.activemq : Create activemq service user] *******
changed: [localhost]
TASK [middleware_automation.amq.activemq : Check activemq install location] ****
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create activemq install location] ***
changed: [localhost]
TASK [middleware_automation.amq.activemq : Set download archive path] **********
ok: [localhost]
TASK [middleware_automation.amq.activemq : Check download archive path] ********
ok: [localhost]
TASK [middleware_automation.amq.activemq : Download activemq archive] **********
ok: [localhost]
TASK [middleware_automation.amq.activemq : Retrieve product download using JBoss Network API] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Determine install zipfile from search results] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Download AMQ Broker] ****************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Check downloaded archive] ***********
ok: [localhost]
TASK [middleware_automation.amq.activemq : Copy archive to target nodes] *******
changed: [localhost]
TASK [middleware_automation.amq.activemq : Check target directory: /opt/amq/apache-artemis-2.32.0] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Extract Apache ActiveMQ archive on target] ***
changed: [localhost]
TASK [middleware_automation.amq.activemq : Check target directory: /opt/amq/apache-artemis-2.32.0] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Link zipfile directory to wanted directory] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Inform decompression was not executed] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Include systemd tasks] **************
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/systemd.yml for localhost
TASK [middleware_automation.amq.activemq : Determine JAVA_HOME for selected JVM RPM] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Ensure systemd unit override directory exists] ***
changed: [localhost]
TASK [middleware_automation.amq.activemq : Configure sysconfig file for amq-broker activemq service] ***
changed: [localhost]
TASK [middleware_automation.amq.activemq : Configure systemd unit file for amq-broker activemq service] ***
changed: [localhost]
TASK [middleware_automation.amq.activemq : Check instance directory: /opt/amq/amq-broker] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Generate artemis configuration for: /opt/amq/amq-broker] ***
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/configure_artemis.yml for localhost
TASK [middleware_automation.amq.activemq : Prepare broker creation options] ****
ok: [localhost]
TASK [middleware_automation.amq.activemq : Enable clustering] ******************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Enable static clustering] ***********
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Enable security] ********************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Disable security] *******************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Set address broker accepts connections on] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Set address embedded web server accepts connections on] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Disable automatic creation of queues] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Set up queues] **********************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Set up data directory] **************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Set as replicated node] *************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Enable replication] *****************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Enable shared storage] **************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Set up port offset] *****************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Disable AMQP protocol] **************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Disable HornetQ protocol] ***********
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Disable MQTT protocol] **************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Disable STOMP] **********************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Set the journal as nio] *************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Enable TLS for web UI] **************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Enable TLS client authentication for web UI] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Create final broker creation options] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create instance amq-broker of activemq] ***
changed: [localhost]
TASK [middleware_automation.amq.activemq : Configure custom broker.xml file for amq-broker] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Check instance directory: /opt/amq/amq-broker] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Reset upgrade flag] *****************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Read profile file] ******************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Display versions] *******************
ok: [localhost] => {
"msg": "Requested version: 2.32.0 / current profile: ARTEMIS_HOME='/opt/amq/apache-artemis-2.32.0'"
}
TASK [middleware_automation.amq.activemq : Set upgrade flag] *******************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Include post upgrade tasks] *********
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Setup clustering with jgroups] ******
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Include keystore copy tasks] ********
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Create libs location] ***************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Copy additional libs to location] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Generate broker configuration for: /opt/amq/amq-broker] ***
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/configure_broker.yml for localhost
TASK [middleware_automation.amq.activemq : Configure AMQ broker logging] *******
changed: [localhost]
TASK [middleware_automation.amq.activemq : Ensure ha-policy element exists] ****
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Configure ha-policy] ****************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Configure acceptors] ****************
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/acceptors.yml for localhost
TASK [middleware_automation.amq.activemq : Create acceptor configuration string] ***
ok: [localhost] => (item=None)
ok: [localhost] => (item=None)
ok: [localhost] => (item=None)
ok: [localhost] => (item=None)
ok: [localhost] => (item=None)
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create acceptor configuration in broker.xml] ***
changed: [localhost]
TASK [middleware_automation.amq.activemq : Configure connectors] ***************
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/connectors.yml for localhost
TASK [middleware_automation.amq.activemq : Create final connector list using generated and declared lists] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create connector configuration string] ***
ok: [localhost] => (item=None)
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create connector configuration in broker.xml] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Create cluster connections configuration string] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Create cluster connections in broker.xml] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Configure addresses] ****************
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/addresses.yml for localhost
TASK [middleware_automation.amq.activemq : Create addresses string] ************
ok: [localhost] => (item=queue.in)
ok: [localhost] => (item=queue.out)
ok: [localhost] => (item=DLQ)
ok: [localhost] => (item=ExpiryQueue)
TASK [middleware_automation.amq.activemq : Create addresses configuration in broker.xml] ***
changed: [localhost]
TASK [middleware_automation.amq.activemq : Configure journal] ******************
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/journal.yml for localhost
TASK [middleware_automation.amq.activemq : Set journal configuration] **********
ok: [localhost] => (item=persistence_enabled)
changed: [localhost] => (item=persist_id_cache)
changed: [localhost] => (item=id_cache_size)
ok: [localhost] => (item=journal_type)
ok: [localhost] => (item=paging_directory)
ok: [localhost] => (item=bindings_directory)
ok: [localhost] => (item=journal_directory)
changed: [localhost] => (item=large_messages_directory)
ok: [localhost] => (item=journal_datasync)
ok: [localhost] => (item=journal_min_files)
ok: [localhost] => (item=journal_pool_files)
ok: [localhost] => (item=journal_device_block_size)
ok: [localhost] => (item=journal_file_size)
changed: [localhost] => (item=journal_buffer_timeout)
ok: [localhost] => (item=journal_max_io)
changed: [localhost] => (item=configuration_file_refresh_period)
ok: [localhost] => (item=global_max_messages)
changed: [localhost] => (item=global_max_size)
changed: [localhost] => (item=password_codec)
TASK [middleware_automation.amq.activemq : Create user and roles] **************
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/user_roles.yml for localhost
TASK [middleware_automation.amq.activemq : Retrieve existing users] ************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Set masked user passwords] **********
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/mask_password.yml for localhost => (item=amq-broker)
TASK [middleware_automation.amq.activemq : Parse passwd hash for existing user] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Parse passwd for existing user salt] ***
ok: [localhost]
TASK [middleware_automation.amq.activemq : Get masked password for user] *******
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Add masked password to users list] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Add existing user to users list] ****
ok: [localhost]
TASK [middleware_automation.amq.activemq : Configure users] ********************
changed: [localhost]
TASK [middleware_automation.amq.activemq : Configure roles] ********************
changed: [localhost]
TASK [middleware_automation.amq.activemq : Create security settings matches] ***
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
ok: [localhost] => (item=#)
TASK [middleware_automation.amq.activemq : Create security settings] ***********
ok: [localhost] => (item={'match': '#', 'permissions': {'createNonDurableQueue': ['amq'], 'deleteNonDurableQueue': ['amq'], 'createDurableQueue': ['amq'], 'deleteDurableQueue': ['amq'], 'createAddress': ['amq'], 'deleteAddress': ['amq'], 'consume': ['amq'], 'browse': ['amq'], 'send': ['amq'], 'manage': ['amq']}})
TASK [middleware_automation.amq.activemq : Create messaging roles permissions] ***
changed: [localhost]
TASK [middleware_automation.amq.activemq : Update hawtio role] *****************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Ensure management.xml has no comments (lxml bug workaround)] ***
changed: [localhost]
TASK [middleware_automation.amq.activemq : Create management access default] ***
ok: [localhost] => (item=list*)
ok: [localhost] => (item=get*)
ok: [localhost] => (item=is*)
ok: [localhost] => (item=set*)
ok: [localhost] => (item=browse*)
ok: [localhost] => (item=count*)
ok: [localhost] => (item=*)
TASK [middleware_automation.amq.activemq : Create management access domains] ***
ok: [localhost] => (item=org.apache.activemq.artemis)
ok: [localhost] => (item=java.lang)
TASK [middleware_automation.amq.activemq : Create management default access configuration] ***
changed: [localhost]
TASK [middleware_automation.amq.activemq : Create management access roles configuration] ***
changed: [localhost]
TASK [middleware_automation.amq.activemq : Configure address settings] *********
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/address_settings.yml for localhost
TASK [middleware_automation.amq.activemq : Create address settings configuration string] ***
ok: [localhost] => (item=activemq.management#)
ok: [localhost] => (item=#)
TASK [middleware_automation.amq.activemq : Create address settings configuration in broker.xml] ***
changed: [localhost]
TASK [middleware_automation.amq.activemq : Configure diverts] ******************
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Configure broker connections] *******
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Configure jolokia access] ***********
changed: [localhost]
TASK [middleware_automation.amq.activemq : Configure jaas] *********************
changed: [localhost]
TASK [middleware_automation.amq.activemq : Find available library path from installation] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Ensure lib is available to instance] ***
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Configure metrics plugin] ***********
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Reload systemd] *********************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Verify file ownership] **************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Flush handlers] *********************
RUNNING HANDLER [middleware_automation.amq.activemq : Restart handler] *********
included: /root/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/restart.yml for localhost
RUNNING HANDLER [middleware_automation.amq.activemq : Restart and enable instance amq-broker for activemq service] ***
changed: [localhost]
RUNNING HANDLER [middleware_automation.amq.activemq : Configure systemd unit override] ***
skipping: [localhost]
RUNNING HANDLER [middleware_automation.amq.activemq : Restart service] *********
skipping: [localhost]
RUNNING HANDLER [middleware_automation.amq.activemq : Delete systemd unit override] ***
skipping: [localhost]
RUNNING HANDLER [middleware_automation.amq.activemq : Ensure daemon reload] ****
skipping: [localhost]
RUNNING HANDLER [middleware_automation.amq.activemq : Restart handler] *********
skipping: [localhost]
TASK [middleware_automation.amq.activemq : Check service status] ***************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Verify service status] **************
ok: [localhost] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [middleware_automation.amq.activemq : Create default logs directory] ******
changed: [localhost]
TASK [middleware_automation.amq.activemq : Link default logs directory] ********
changed: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=164 changed=26 unreachable=0 failed=0 skipped=54 rescued=0 ignored=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment