Note
This plugin is part of the community.windows collection (version 1.7.0).
You might already have this collection installed if you are using the ansible
package. It is not included in ansible-core
. To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.windows
.
To use it in a playbook, specify: community.windows.win_dotnet_ngen
.
Note
- name: Run ngen tasks community.windows.win_dotnet_ngen:
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
dotnet_ngen64_eqi_exit_code integer | 64-bit ngen executable exists | The exit code after running the 64-bit ngen.exe executeQueuedItems command. |
dotnet_ngen64_eqi_output string | 64-bit ngen executable exists | The stdout after running the 64-bit ngen.exe executeQueuedItems command. Sample: sample output |
dotnet_ngen64_update_exit_code integer | 64-bit ngen executable exists | The exit code after running the 64-bit ngen.exe update /force command. |
dotnet_ngen64_update_output string | 64-bit ngen executable exists | The stdout after running the 64-bit ngen.exe update /force command. Sample: sample output |
dotnet_ngen_eqi_exit_code integer | 32-bit ngen executable exists | The exit code after running the 32-bit ngen.exe executeQueuedItems command. |
dotnet_ngen_eqi_output string | 32-bit ngen executable exists | The stdout after running the 32-bit ngen.exe executeQueuedItems command. Sample: sample output |
dotnet_ngen_update_exit_code integer | 32-bit ngen executable exists | The exit code after running the 32-bit ngen.exe update /force command. |
dotnet_ngen_update_output string | 32-bit ngen executable exists | The stdout after running the 32-bit ngen.exe update /force command. Sample: sample output |
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/windows/win_dotnet_ngen_module.html