cisco.ios icon indicating copy to clipboard operation
cisco.ios copied to clipboard

Add parsed and rendered states to ios_vrf

Open nleiva opened this issue 11 months ago • 0 comments

SUMMARY

cisco.ios.ios_vrf only supports present and absent states today. Would it be possible to add the remaining network resource module state options to it?

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

cisco.ios.ios_vrf

ADDITIONAL INFORMATION

It will allow us to test this module without a remote network device.

 - name: Parse VRFs for provided configuration
   cisco.ios.ios_vrf:
     running_config: "{{ lookup('file', config) }}"
     state: parsed

and:

 - name: Parse VRFs for provided configuration
   cisco.ios.ios_vrf:
     config: "{{ lookup('file', config) }}"
     state: rendered

nleiva avatar Jul 12 '23 19:07 nleiva