mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
Normalize usage of temp and tmp on tmp (#36221)
* Normalize usage of temp and tmp on tmp * Rename system_tmps system_tmpdirs * Add ANSIBLE_REMOTE_TMP spelling of environment variables
This commit is contained in:
parent
2678508d42
commit
06f73ad578
22 changed files with 99 additions and 92 deletions
|
@ -7,29 +7,29 @@ class ModuleDocFragment(object):
|
|||
# common shelldocumentation fragment
|
||||
DOCUMENTATION = """
|
||||
options:
|
||||
remote_temp:
|
||||
remote_tmp:
|
||||
description:
|
||||
- Temporary directory to use on targets when executing tasks.
|
||||
default: '~/.ansible/tmp'
|
||||
env: [{name: ANSIBLE_REMOTE_TEMP}]
|
||||
env: [{name: ANSIBLE_REMOTE_TEMP}, {name: ANSIBLE_REMOTE_TMP}]
|
||||
ini:
|
||||
- section: defaults
|
||||
key: remote_tmp
|
||||
vars:
|
||||
- name: ansible_remote_tmp
|
||||
system_temps:
|
||||
system_tmpdirs:
|
||||
description:
|
||||
- "List of valid system temporary directories for Ansible to choose when it cannot use
|
||||
``remote_temp``, normally due to permission issues. These must be world readable, writable,
|
||||
``remote_tmp``, normally due to permission issues. These must be world readable, writable,
|
||||
and executable."
|
||||
default: [ /var/tmp, /tmp ]
|
||||
type: list
|
||||
env: [{name: ANSIBLE_SYSTEM_TMPS}]
|
||||
env: [{name: ANSIBLE_SYSTEM_TMPDIRS}]
|
||||
ini:
|
||||
- section: defaults
|
||||
key: system_tmps
|
||||
key: system_tmpdirs
|
||||
vars:
|
||||
- name: ansible_system_tmps
|
||||
- name: ansible_system_tmpdirs
|
||||
async_dir:
|
||||
description:
|
||||
- Directory in which ansible will keep async job inforamtion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue