1---
2- debug:
3    msg: START junos_lldp_global parsed integration tests on connection={{ ansible_connection
4      }}
5
6- set_fact:
7    expected_parsed_output:
8      address: 10.1.1.1
9      hold_multiplier: 10
10      interval: 10000
11      transmit_delay: 400
12
13- name: Parse externally provided lldp_global config to agnostic model
14  register: result
15  junipernetworks.junos.junos_lldp_global:
16    running_config: "{{ lookup('file', './fixtures/parsed.cfg') }}"
17    state: parsed
18
19- name: Assert that config was correctly parsed
20  assert:
21    that:
22      - "{{ expected_parsed_output  == result['parsed'] }}"
23- debug:
24    msg: END junos_lldp_global parsed integration tests on connection={{ ansible_connection
25      }}
26