ansible.posix.csh shell – C shell (/bin/csh)
Note
This shell plugin is part of the ansible.posix collection (version 1.4.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install ansible.posix
.
To use it in a playbook, specify: ansible.posix.csh
.
Parameters
Parameter |
Comments |
---|---|
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. Default: [“root”, “toor”] Configuration:
|
|
Directory in which ansible will keep async job information Default: “~/.ansible_async” Configuration:
|
|
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. Configuration:
|
|
List of dictionaries of environment variables and their values to use when executing commands. Default: [{}] |
|
Temporary directory to use on targets when executing tasks. Default: “~/.ansible/tmp” Configuration:
|
|
List of valid system temporary directories on the managed machine for Ansible to choose when it cannot use Default: [“/var/tmp”, “/tmp”] Configuration:
|
|
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. Choices:
Configuration:
|
Hint
Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.