# powerflex_tb Role to manage the installation and uninstallation of Powerflex TB. ## 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 gateway. str
username true The username of the PowerFlex gateway. str
password true The password of the PowerFlex gateway. str
port false Port of the PowerFlex gateway. 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 Timeout. int 120
powerflex_common_file_install_location false 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_tb_state false Specify state of TB.
absent, present str present
powerflex_tb_primary_name false Name of the primary TB.
str primary_tb
powerflex_tb_secondary_name false Name of the secondary TB.
str secondary_tb
powerflex_tb_cluster_mode false Mode of the cluster.
ThreeNodes, FiveNodes str ThreeNodes
powerflex_tb_cert_password false The CLI certificate password for login to the primary MDM.
str
## Examples ---- ``` - name: Install and configure PowerFlex TB ansible.builtin.import_role: name: "powerflex_tb" vars: hostname: "{{ hostname }}" username: "{{ username }}" password: "{{ password }}" validate_certs: "{{ validate_certs }}" port: "{{ port }}" powerflex_tb_primary_name: "primary_tb" powerflex_tb_secondary_name: "secondary_tb" powerflex_tb_cluster_mode: "ThreeNodes" powerflex_common_file_install_location: "/var/tmp" powerflex_tb_state: present - name: Uninstall powerflex TB ansible.builtin.import_role: name: "powerflex_tb" vars: hostname: "{{ hostname }}" username: "{{ username }}" password: "{{ password }}" validate_certs: "{{ validate_certs }}" port: "{{ port }}" powerflex_tb_state: 'absent' ``` ## Notes ---- - As a pre-requisite for PowerFlex 3.6, the Gateway must be installed. - For PowerFlex 4.x, after installing the TB perform initial configuration steps on PowerFlex Manager GUI. These steps can be found in Install and Update of Dell PowerFlex 4.x from Dell Support page. ## Usage instructions ---- ### To install all dependency packages, including TB, on node: - PowerFlex 3.6: ``` ansible-playbook -i inventory site.yml ``` - PowerFlex 4.5: ``` ansible-playbook -i inventory site_powerflex45.yml ``` ### To uninstall TB: - 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. ## Author Information ------------------ Dell Technologies
Ananthu S Kuttattu (ansible.team@Dell.com) 2023