Debian Codegraph @

ansible_collections/dellemc/openmanage/docs/modules/ome_template_identity_pool.rst

raw
1 .. _ome_template_identity_pool_module:
2
3
4 ome_template_identity_pool -- Attach or detach an identity pool to a requested template on OpenManage Enterprise
5 ================================================================================================================
6
7 .. contents::
8 :local:
9 :depth: 1
10
11
12 Synopsis
13 --------
14
15 This module allows to- - Attach an identity pool to a requested template on OpenManage Enterprise. - Detach an identity pool from a requested template on OpenManage Enterprise.
16
17
18
19 Requirements
20 ------------
21 The below requirements are needed on the host that executes this module.
22
23 - python \>= 3.9.6
24
25
26
27 Parameters
28 ----------
29
30 template_name (True, str, None)
31 Name of the template to which an identity pool is attached or detached.
32
33
34 identity_pool_name (optional, str, None)
35 Name of the identity pool. - To attach an identity pool to a template, provide the name of the identity pool. - This option is not applicable when detaching an identity pool from a template.
36
37
38 hostname (True, str, None)
39 OpenManage Enterprise or OpenManage Enterprise Modular IP address or hostname.
40
41
42 username (False, str, None)
43 OpenManage Enterprise or OpenManage Enterprise Modular username.
44
45 If the username is not provided, then the environment variable \ :envvar:`OME\_USERNAME`\ is used.
46
47 Example: export OME\_USERNAME=username
48
49
50 password (False, str, None)
51 OpenManage Enterprise or OpenManage Enterprise Modular password.
52
53 If the password is not provided, then the environment variable \ :envvar:`OME\_PASSWORD`\ is used.
54
55 Example: export OME\_PASSWORD=password
56
57
58 x_auth_token (False, str, None)
59 Authentication token.
60
61 If the x\_auth\_token is not provided, then the environment variable \ :envvar:`OME\_X\_AUTH\_TOKEN`\ is used.
62
63 Example: export OME\_X\_AUTH\_TOKEN=x\_auth\_token
64
65
66 port (optional, int, 443)
67 OpenManage Enterprise or OpenManage Enterprise Modular HTTPS port.
68
69
70 validate_certs (optional, bool, True)
71 If \ :literal:`false`\ , the SSL certificates will not be validated.
72
73 Configure \ :literal:`false`\ only on personally controlled sites where self-signed certificates are used.
74
75 Prior to collection version \ :literal:`5.0.0`\ , the \ :emphasis:`validate\_certs`\ is \ :literal:`false`\ by default.
76
77
78 ca_path (optional, path, None)
79 The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.
80
81
82 timeout (optional, int, 30)
83 The socket level timeout in seconds.
84
85
86
87
88
89 Notes
90 -----
91
92 .. note::
93 - Run this module from a system that has direct access to Dell OpenManage Enterprise.
94 - This module supports \ :literal:`check\_mode`\ .
95
96
97
98
99 Examples
100 --------
101
102 .. code-block:: yaml+jinja
103
104
105 ---
106 - name: Attach an identity pool to a template
107 dellemc.openmanage.ome_template_identity_pool:
108 hostname: "192.168.0.1"
109 username: "username"
110 password: "password"
111 ca_path: "/path/to/ca_cert.pem"
112 template_name: template_name
113 identity_pool_name: identity_pool_name
114
115 - name: Detach an identity pool from a template
116 dellemc.openmanage.ome_template_identity_pool:
117 hostname: "192.168.0.1"
118 username: "username"
119 password: "password"
120 ca_path: "/path/to/ca_cert.pem"
121 template_name: template_name
122
123
124
125 Return Values
126 -------------
127
128 msg (always, str, Successfully attached identity pool to template.)
129 Overall identity pool status of the attach or detach operation.
130
131
132 error_info (on HTTP error, dict, {'error': {'code': 'Base.1.0.GeneralError', 'message': 'A general error has occurred. See ExtendedInfo for more information.', '@Message.ExtendedInfo': [{'MessageId': 'GEN1234', 'RelatedProperties': [], 'Message': 'Unable to process the request because an error occurred.', 'MessageArgs': [], 'Severity': 'Critical', 'Resolution': 'Retry the operation. If the issue persists, contact your system administrator.'}]}})
133 Details of the HTTP Error.
134
135
136
137
138
139 Status
140 ------
141
142
143
144
145
146 Authors
147 ~~~~~~~
148
149 - Felix Stephen (@felixs88)
150 - Meenakshi Dembi(@meenakshidembi691)
151