- Docs »
- win_dotnet_ngen - Runs ngen to recompile DLLs after .NET updates
-
You are reading an unmaintained version of the Ansible documentation. Unmaintained Ansible versions can contain unfixed security vulnerabilities (CVE). Please upgrade to a maintained version. See the latest Ansible documentation.
win_dotnet_ngen - Runs ngen to recompile DLLs after .NET updates
Note
- There are in fact two scheduled tasks for ngen but they have no triggers so aren’t a problem.
- There’s no way to test if they’ve been completed.
- The stdout is quite likely to be several megabytes.
- name: run ngen tasks
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
int
|
64-bit ngen executable exists |
The exit code after running the 64-bit ngen.exe executeQueuedItems command.
|
dotnet_ngen64_eqi_output
str
|
64-bit ngen executable exists |
The stdout after running the 64-bit ngen.exe executeQueuedItems command.
Sample:
sample output
|
dotnet_ngen64_update_exit_code
int
|
64-bit ngen executable exists |
The exit code after running the 64-bit ngen.exe update /force command.
|
dotnet_ngen64_update_output
str
|
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
int
|
32-bit ngen executable exists |
The exit code after running the 32-bit ngen.exe executeQueuedItems command.
|
dotnet_ngen_eqi_output
str
|
32-bit ngen executable exists |
The stdout after running the 32-bit ngen.exe executeQueuedItems command.
Sample:
sample output
|
dotnet_ngen_update_exit_code
int
|
32-bit ngen executable exists |
The exit code after running the 32-bit ngen.exe update /force command.
|
dotnet_ngen_update_output
str
|
32-bit ngen executable exists |
The stdout after running the 32-bit ngen.exe update /force command.
Sample:
sample output
|
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Community, see here.
- Peter Mounce (@petemounce)
Hint
If you notice any issues in this documentation you can edit this document to improve it.