Skip to content

cmd

Collection Note

This module is part of the ansible.builtin collection. To install the collection, use:

ansible-galaxy collection install ansible.builtin
Added in version 2.8.

Synopsis

  • Used with the 'ssh' connection plugin and no C(DefaultShell) has been set on the Windows host.

Parameters

Parameter Defaults / Choices Comments
async_dir Default: %USERPROFILE%\.ansible_async
Directory in which ansible will keep async job information.
Before Ansible 2.8, this was set to C(remote_tmp + "\.ansible_async").
Version Added: 2.8
remote_tmp Default: %TEMP%
Temporary directory to use on targets when copying files to the host.
set_module_language
bool
Default: no
Choices: no, False
Controls if we set the locale for modules when executing on the target.
Windows only supports V(no) as an option.