ansible / ansible.builtin / v2.7.9 / shell / sh POSIX shell (/bin/sh) | "added in version" historical of ansible.builtin" Authors: unknownansible.builtin.sh (v2.7.9) — shell
pip
Install with pip install ansible==2.7.9
This shell plugin is the one you want to use on most Unix systems, it is the most compatible and widely installed shell.
async_dir: default: ~/.ansible_async description: - Directory in which ansible will keep async job information env: - name: ANSIBLE_ASYNC_DIR ini: - key: async_dir section: defaults vars: - name: ansible_async_dir remote_tmp: default: ~/.ansible/tmp description: - Temporary directory to use on targets when executing tasks. env: - name: ANSIBLE_REMOTE_TEMP - name: ANSIBLE_REMOTE_TMP ini: - key: remote_tmp section: defaults vars: - name: ansible_remote_tmp admin_users: default: - root - toor description: - list of users to be expected to have admin privileges. This is used by the controller to determine how to share temporary files between the remote user and the become user. elements: string env: - name: ANSIBLE_ADMIN_USERS ini: - key: admin_users section: defaults type: list vars: - name: ansible_admin_users environment: default: - {} description: - List of dictionaries of environment variables and their values to use when executing commands. elements: dictionary keyword: - name: environment type: list system_tmpdirs: default: - /var/tmp - /tmp description: - List of valid system temporary directories on the managed machine for Ansible to validate O(remote_tmp) against, when specific permissions are needed. These must be world readable, writable, and executable. This list should only contain directories which the system administrator has pre-created with the proper ownership and permissions otherwise security issues can arise. - When O(remote_tmp) is required to be a system temp dir and it does not match any in the list, the first one from the list will be used instead. elements: string env: - name: ANSIBLE_SYSTEM_TMPDIRS ini: - key: system_tmpdirs section: defaults type: list vars: - name: ansible_system_tmpdirs common_remote_group: default: null description: - Checked when Ansible needs to execute a module as a different user. - If setfacl and chown both fail and do not let the different user access the module's files, they will be chgrp'd to this group. - In order for this to work, the remote_user and become_user must share a common group and this setting must be set to that group. env: - name: ANSIBLE_COMMON_REMOTE_GROUP ini: - key: common_remote_group section: defaults name: Enables changing the group ownership of temporary files and directories vars: - name: ansible_common_remote_group version_added: '2.10' version_added_collection: ansible.builtin world_readable_temp: default: false description: - This makes the temporary files created on the machine world-readable and will issue a warning instead of failing the task. - It is useful when becoming an unprivileged user. env: - name: ANSIBLE_SHELL_ALLOW_WORLD_READABLE_TEMP ini: - key: allow_world_readable_tmpfiles section: defaults type: boolean vars: - name: ansible_shell_allow_world_readable_temp version_added: '2.10' version_added_collection: ansible.builtin