You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@boolzy You need to write a separate task using set_fact module to append and store the configurations in the list variable then use that stored variable in the juniper.device.config module to commit the configuration.
Issue Type
Module Name
juniper.device.config
juniper.device collection and Python libraries version
OS / Environment
Junos: 21.4R3-S3.4
Summary
Adding a feature to not discard uncommitted changes to allow the usage of task loops
Steps to reproduce
Expected results
task loop sets expected values, then commits result
Actual results
pending configuration is discarded at the end of the task loop, requiring a commit for every loop of the task
The text was updated successfully, but these errors were encountered: