$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. Controlling how Ansible behaves: precedence rules.Collections in the Theforeman Namespace.Collections in the Telekom_mms Namespace.Collections in the T_systems_mms Namespace.Collections in the Servicenow Namespace.Collections in the Purestorage Namespace.Collections in the Openvswitch Namespace.Collections in the Netapp_eseries Namespace.Collections in the Kubernetes Namespace.Collections in the Junipernetworks Namespace.Collections in the F5networks Namespace.Collections in the Containers Namespace.Collections in the Cloudscale_ch Namespace.Collections in the Chocolatey Namespace.Collections in the Check_point Namespace.Virtualization and Containerization Guides.Protecting sensitive data with Ansible vault.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |