blob: b1a16785afbeb0cb606ef814b9b37fbaea1b458e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
---
- 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
|