--- - name: Gatherfacts Module Operations on PowerFlex hosts: localhost connection: local vars: hostname: 'x.x.x.x' username: 'admin' password: 'Password' validate_certs: false host_port: 443 tasks: - name: Get detailed list of PowerFlex Entities dellemc.powerflex.info: hostname: "{{ hostname }}" username: "{{ username }}" password: "{{ password }}" validate_certs: "{{ validate_certs }}" gather_subset: - vol - storage_pool - protection_domain - sdc - sds - snapshot_policy - device - rcg - replication_pair - fault_set - name: Get specific volume details dellemc.powerflex.info: hostname: "{{ hostname }}" username: "{{ username }}" password: "{{ password }}" validate_certs: "{{ validate_certs }}" gather_subset: - vol filters: - filter_key: "name" filter_operator: "equal" filter_value: "ansible_test" - name: Get specific fault set list dellemc.powerflex.info: hostname: "{{ hostname }}" username: "{{ username }}" password: "{{ password }}" validate_certs: "{{ validate_certs }}" gather_subset: - fault_set filters: - filter_key: "name" filter_operator: "equal" filter_value: "node4" - name: Get managed device, deployments, service templates dellemc.powerflex.info: hostname: "{{ hostname }}" username: "{{ username }}" password: "{{ password }}" validate_certs: "{{ validate_certs }}" gather_subset: - managed_device - deployment - service_template - name: Get deployment with filter, sort, pagination dellemc.powerflex.info: hostname: "{{ hostname }}" username: "{{ username }}" password: "{{ password }}" validate_certs: "{{ validate_certs }}" gather_subset: - deployment filters: - filter_key: "name" filter_operator: "contains" filter_value: "partial" sort: name limit: 10