remote_tmp should be configurable within group_vars and host_vars #29019
Labels
affects_2.2
This issue/PR affects Ansible v2.2
feature
This issue/PR relates to a feature request.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
Milestone
ISSUE TYPE
COMPONENT NAME
remote_tmp var in ansible.cfg
ANSIBLE VERSION
CONFIGURATION
remote_tmp in ansible.cfg
OS / ENVIRONMENT
N/A
SUMMARY
The problem is that I am only able to configure the remote_tmp var within ansible.cfg.
But each host I like to administrate with ansible could have another path I wish to write the ansible tmp files to.
STEPS TO REPRODUCE
I should be able to configure the remote_tmp var within group_vars for example. Currently this will be ignored. Only the value of remote_tmp within ansible.cfg will be taken.
EXPECTED RESULTS
I would expect that if I would configure a remote_tmp property within group_vars or host_vars the remote_tmp property of ansible.cfg will be overwritten. So could define a special remote_tmp path for each host or host groups for example.
ACTUAL RESULTS
Currently only the remote_tmp property of ansible.cfg is the only option to change the remote_tmp path which every host you define within your ansible configuration must have.
The text was updated successfully, but these errors were encountered: