# powerflex_mdm Role to manage the installation and uninstallation of Powerflex MDM. ## Table of contents * [Requirements](#requirements) * [Ansible collections](#ansible-collections) * [Role Variables](#role-variables) * [Examples](#examples) * [Usage instructions](#usage-instructions) * [Notes](#notes) * [Author Information](#author-information) ## Requirements ``` ansible python ``` ## Ansible collections Collections required to use the role. ``` dellemc.powerflex ansible.posix community.general ``` ## Role Variables
Name Required Description Choices Type Default Value
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.
str /var/tmp
powerflex_mdm_password true Password for mdm cluster.
str Password123
powerflex_mdm_state false Specify state of MDM.
absent, present str present
powerflex_mdm_virtual_ip false Virtual IP address of MDM.
str
powerflex_mdm_cert_password false The password to generate the certificate cli.
Required while installing MDM for Powerlex 4.x.
str Password123!
## Examples ---- ``` - name: "Install and configure powerflex mdm" ansible.builtin.import_role: name: "powerflex_mdm" vars: powerflex_common_file_install_location: "/opt/scaleio/rpm" powerflex_mdm_password: password powerflex_mdm_state: present - name: "Uninstall powerflex mdm" ansible.builtin.import_role: name: "powerflex_mdm" vars: powerflex_mdm_state: absent ``` ## Usage instructions ---- ### To install all dependency packages, including mdm, on node: - PowerFlex 3.6: ``` ansible-playbook -i inventory site.yml ``` - PowerFlex 4.5: ``` ansible-playbook -i inventory site_powerflex45.yml ``` ### To uninstall mdm: - PowerFlex 3.6: ``` ansible-playbook -i inventory uninstall_powerflex.yml ``` - PowerFlex 4.5: ``` ansible-playbook -i inventory uninstall_powerflex45.yml ``` Sample playbooks and inventory can be found in the playbooks directory. ## Notes - The ```community.general``` collection must be installed for MDM installation on SLES OS. ## Author Information ------------------ Dell Technologies
Bhavneet Sharma (ansible.team@Dell.com) 2023