Note
This module is part of the community.windows collection (version 2.4.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 | Description |
|---|---|
dotnet_ngen64_eqi_exit_code integer | The exit code after running the 64-bit ngen.exe executeQueuedItems command. Returned: 64-bit ngen executable exists Sample: |
dotnet_ngen64_eqi_output string | The stdout after running the 64-bit ngen.exe executeQueuedItems command. Returned: 64-bit ngen executable exists Sample: |
dotnet_ngen64_update_exit_code integer | The exit code after running the 64-bit ngen.exe update /force command. Returned: 64-bit ngen executable exists Sample: |
dotnet_ngen64_update_output string | The stdout after running the 64-bit ngen.exe update /force command. Returned: 64-bit ngen executable exists Sample: |
dotnet_ngen_eqi_exit_code integer | The exit code after running the 32-bit ngen.exe executeQueuedItems command. Returned: 32-bit ngen executable exists Sample: |
dotnet_ngen_eqi_output string | The stdout after running the 32-bit ngen.exe executeQueuedItems command. Returned: 32-bit ngen executable exists Sample: |
dotnet_ngen_update_exit_code integer | The exit code after running the 32-bit ngen.exe update /force command. Returned: 32-bit ngen executable exists Sample: |
dotnet_ngen_update_output string | The stdout after running the 32-bit ngen.exe update /force command. Returned: 32-bit ngen executable exists Sample: |
© 2012–2018 Michael DeHaan
© 2018–2025 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