# powerflex_activemq Role to manage the installation and uninstallation of Powerflex ActiveMQ. ## Table of contents * [Requirements](#requirements) * [Ansible collections](#ansible-collections) * [Role Variables](#role-variables) * [Examples](#examples) * [Notes](#notes) * [Usage instructions](#usage-instructions) * [Author Information](#author-information) ## Requirements ``` ansible python ``` ## Ansible collections Collections required to use the role. ``` dellemc.powerflex ``` ## Role Variables
Name Required Description Choices Type Default Value
hostname true IP or FQDN of the PowerFlex host. str
username true The username of the PowerFlex host. str
password true The password of the PowerFlex host. str
port false The port of the PowerFlex host. int 443
validate_certs false If C(false), the SSL certificates will not be validated.
Configure C(false) only on personally controlled sites where self-signed certificates are used.
bool false
timeout false Time after which connection will get terminated. int 120
powerflex_common_file_install_location true Location of installation and rpm gpg files to be installed.
The required, compatible installation software package based on the operating system of the node. The files can be downloaded from the Dell Product support page for PowerFlex software.
path /var/tmp
powerflex_activemq_state false Specify state of ActiveMQ.
present will install the ActiveMQ and absent will uninstall the ActiveMQ.
absent, present str present
## Examples ---- ``` - name: Install and configure PowerFlex ActiveMQ ansible.builtin.import_role: name: powerflex_activemq vars: hostname: "{{ hostname }}" username: "{{ username }}" password: "{{ password }}" validate_certs: "{{ validate_certs }}" port: "{{ port }}" powerflex_activemq_state: present - name: Uninstall powerflex ActiveMQ ansible.builtin.import_role: name: powerflex_activemq vars: powerflex_activemq_state: absent ``` ## Notes - Supported in PowerFlex version 4.x and above ## Usage instructions ---- ### To install all dependency packages, including ActiveMQ, on node: ``` ansible-playbook -i inventory site_powerflex45.yml ``` ### To uninstall ActiveMQ: ``` ansible-playbook -i inventory uninstall_powerflex45.yml ``` Sample playbooks and inventory can be found in the playbooks directory. ## Author Information ------------------ Dell Technologies
Pavan Mudunuri (ansible.team@Dell.com) 2023