# powerflex_webui Role to manage the installation and uninstallation of Powerflex Web UI. ## 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 The 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 Time after which connection will get terminated. int 120
powerflex_common_file_install_location false Location of installation, 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_webui_skip_java false Specifies whether to install java or not.
bool false
powerflex_webui_state false Specify state of web UI.
present will install the web UI and absent will uninstall the web UI.
absent, present str present
## Examples ---- ``` - name: Install and configure powerflex web UI ansible.builtin.import_role: name: "powerflex_webui" vars: hostname: "{{ hostname }}" username: "{{ username }}" password: "{{ password }}" validate_certs: "{{ validate_certs }}" port: "{{ port }}" powerflex_common_file_install_location: "/opt/scaleio/rpm" powerflex_webui_skip_java: true powerflex_webui_state: present - name: Uninstall powerflex web UI ansible.builtin.import_role: name: "powerflex_webui" vars: powerflex_webui_state: absent ``` ## Notes - Supported only in PowerFlex version 3.6. ## Usage instructions ---- ### To install all dependency packages, including web UI, on node: ``` ansible-playbook -i inventory site.yml ``` ### To uninstall web UI: ``` ansible-playbook -i inventory uninstall_powerflex.yml ``` Sample playbooks and inventory can be found in the playbooks directory. ## Author Information ------------------ Dell Technologies
Trisha Datta (ansible.team@Dell.com) 2023