Debian Codegraph @

ansible_collections/dellemc/openmanage/playbooks/idrac/idrac_session.yml

raw symbols SCIP
1 ---
2 - name: Dell OpenManage Ansible iDRAC Session Management.
3 hosts: idrac
4 gather_facts: false
5
6 tasks:
7 - name: Create a session
8 dellemc.openmanage.idrac_session:
9 hostname: 198.162.0.1
10 username: username
11 password: password
12 state: present
13 register: session
14 delegate_to: localhost
15
16 - name: Delete a session
17 dellemc.openmanage.idrac_session:
18 hostname: 198.162.0.1
19 state: absent
20 auth_token: "{{ session.x_auth_token }}"
21 session_id: "{{ session.session_data.Id }}"
22 delegate_to: localhost