$Ansible.Changed can be set to true or false to reflect whether the module made a change or not. $Ansible.Diff was added in the 1.12.0 release of ansible.windows and is a dictionary that is set to the diff result that can be interepreted by Ansible. $Ansible.Result is a value that is returned back to the controller as is. The script has access to the $Ansible variable where it can set Result, Changed, Failed, Diff, or access Tmpdir. Type will contain a dictionary with Name, FullName, AssemblyQualifiedName, BaseType being the type name, the type name including the namespace, the full assembly name the type was defined in and the base type it derives from. The output values are processed using a custom filter and while it mostly matches the ConvertTo-Json result the following value types are different.ĭateTime will be an ISO 8601 string in UTC, DateTimeOffset will have the offset as specified by the value.Įnum will contain a dictionary with Type, String, Value being the type name, string representation and raw integer value respectively. The module is set as failed when a terminating exception is throw, or error_action=stop and a normal error record is raised.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |