Debian Codegraph @

ansible_collections/dellemc/openmanage/roles/idrac_gather_facts/molecule/enclosureemm-10629/converge.yml

raw symbols SCIP
1 ---
2 - name: Converge idrac_gather_facts for EnclosureEMM
3 hosts: all
4 gather_facts: false
5 vars:
6 hostname: "{{ lookup('env', 'IDRAC_IP') }}"
7 username: "{{ lookup('env', 'IDRAC_USER') }}"
8 password: "{{ lookup('env', 'IDRAC_PASSWORD') }}"
9 idrac_port: "{{ lookup('env', 'IDRAC_PORT') }}"
10 validate_certs: false
11 target:
12 - EnclosureEMM
13 idrac_gather_facts_uri_method: "GET"
14 idrac_gather_facts_uri_headers:
15 Accept: "application/json"
16 Content-Type: "application/json"
17 OData-Version: "4.0"
18 idrac_gather_facts_uri_body_format: "json"
19 idrac_gather_facts_uri_status_code:
20 - 200
21 - 400
22 - 401
23 - 404
24 - -1
25 idrac_gather_facts_uri_return_content: true
26 diff_data: {}
27 exclude_keys: []
28
29 tasks:
30 - name: Find the chassis API
31 ansible.builtin.include_tasks:
32 ../../tests/asserts/_check_chassis_url.yml
33
34 - name: Gather Facts for the EnclosureEMM component
35 ansible.builtin.include_role:
36 name: "idrac_gather_facts"
37
38 - name: Call assertion
39 ansible.builtin.include_tasks: ../../tests/asserts/enclosureemm_assert.yml
40 with_items: "{{ enclosure_emm }}"
41 loop_control:
42 loop_var: enclosureemm_data
43 when: enclosure_emm | length > 0