Debian Codegraph @

ansible_collections/dellemc/openmanage/roles/idrac_gather_facts/molecule/nic-10631/converge.yml

raw symbols SCIP
1 ---
2 - name: Converge idrac_gather_facts for NIC
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 - NIC
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
31 - name: Find the system API
32 ansible.builtin.include_tasks:
33 ../../tests/asserts/_check_system_url.yml
34
35 - name: Gather Facts for the NIC component
36 ansible.builtin.include_role:
37 name: "idrac_gather_facts"
38
39 - name: Assert nic dict for length
40 ansible.builtin.assert:
41 that:
42 - nic | length > 0
43
44 - name: Call assertion
45 ansible.builtin.include_tasks: ../../tests/asserts/nic_assert.yml
46 with_items: "{{ nic }}"
47 loop_control:
48 loop_var: nic_data
49 when: nic | length > 0