Debian Codegraph @

lib/ansible/plugins/doc_fragments/shell_windows.py

raw
1 # Copyright (c) 2019 Ansible Project
2 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
3 from __future__ import annotations
4
5
6 class ModuleDocFragment(object):
7
8 # Windows shell documentation fragment
9 # FIXME: set_module_language don't belong here but must be set so they don't fail when someone
10 # get_option('set_module_language') on this plugin
11 DOCUMENTATION = r"""
12 options:
13 async_dir:
14 description:
15 - Directory in which ansible will keep async job information.
16 - Before Ansible 2.8, this was set to C(remote_tmp + "\.ansible_async").
17 default: '%USERPROFILE%\.ansible_async'
18 ini:
19 - section: powershell
20 key: async_dir
21 vars:
22 - name: ansible_async_dir
23 version_added: '2.8'
24 remote_tmp:
25 description:
26 - Temporary directory to use on targets when copying files to the host.
27 default: '%TEMP%'
28 ini:
29 - section: powershell
30 key: remote_tmp
31 vars:
32 - name: ansible_remote_tmp
33 set_module_language:
34 description:
35 - Controls if we set the locale for modules when executing on the
36 target.
37 - Windows only supports V(no) as an option.
38 type: bool
39 default: 'no'
40 choices: ['no', False]
41 """