Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parsed and rendered states to ios_system #887

Open
nleiva opened this issue Jul 12, 2023 · 0 comments
Open

Add parsed and rendered states to ios_system #887

nleiva opened this issue Jul 12, 2023 · 0 comments
Labels
feature This issue/PR relates to a feature request.

Comments

@nleiva
Copy link

nleiva commented Jul 12, 2023

SUMMARY

cisco.ios.ios_system 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_system

ADDITIONAL INFORMATION

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

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

and:

 - name: Render system attributes for provided configuration
   cisco.ios.ios_system:
     config: "{{ lookup('file', config) }}"
     state: rendered
@KB-perByte KB-perByte added the feature This issue/PR relates to a feature request. label Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request.
Projects
None yet
Development

No branches or pull requests

2 participants