+
+ | Key |
+ Returned |
+ Description |
+
+
+ |
+
+ after
+
+
+ dictionary
+
+ |
+ when changed |
+
+ The resulting configuration after module execution.
+
+ Sample:
+ This output will always be in the same format as the module argspec.
+ |
+
+
+ |
+
+ before
+
+
+ dictionary
+
+ |
+ when state is merged, replaced, overridden, deleted or purged |
+
+ The configuration prior to the module execution.
+
+ Sample:
+ This output will always be in the same format as the module argspec.
+ |
+
+
+ |
+
+ commands
+
+
+ list
+
+ |
+ when state is merged, replaced, overridden, deleted or purged |
+
+ The set of commands pushed to the remote device.
+
+ Sample:
+ ['set system ntp server server1 dynamic', 'set system ntp server server1 prefer', 'set system ntp server server2 noselect', 'set system ntp server server2 preempt', 'set system ntp server server_add preempt']
+ |
+
+
+ |
+
+ gathered
+
+
+ list
+
+ |
+ when state is gathered |
+
+ Facts about the network resource gathered from the remote device as structured data.
+
+ Sample:
+ This output will always be in the same format as the module argspec.
+ |
+
+
+ |
+
+ parsed
+
+
+ list
+
+ |
+ when state is parsed |
+
+ The device native config provided in running_config option parsed into structured data as per module argspec.
+
+ Sample:
+ This output will always be in the same format as the module argspec.
+ |
+
+
+ |
+
+ rendered
+
+
+ list
+
+ |
+ when state is rendered |
+
+ The provided configuration in the task rendered in device-native format (offline).
+
+ Sample:
+ ['set system ntp server server1 dynamic', 'set system ntp server server1 prefer', 'set system ntp server server2 noselect', 'set system ntp server server2 preempt', 'set system ntp server server_add preempt']
+ |
+
+
+