Drop special remote_tmp casing for targets with become, instead just switch everything to use /tmp for remote tmp.
ansible picks a pretty random dir and this works with the case of users who cannot write to their homedir.
This commit is contained in:
parent
cc853fb120
commit
da8324764f
5 changed files with 1 additions and 17 deletions
|
@ -12,7 +12,3 @@ csi_purpose: Provide a publicly accessible frontend for 3rd party packages (copr
|
||||||
csi_relationship: |
|
csi_relationship: |
|
||||||
- This host provides the frontend part of copr only.
|
- This host provides the frontend part of copr only.
|
||||||
- It's the point of contact between end users and the copr build system (backend, package singer)
|
- It's the point of contact between end users and the copr build system (backend, package singer)
|
||||||
|
|
||||||
# We set this here because we have a task that uses become_user where the user does not
|
|
||||||
# have perms to write to their homedir. So we cannot use the default ~user/.ansible tmpdir.
|
|
||||||
ansible_remote_tmp: /tmp/.ansible-${USER}/tmp
|
|
||||||
|
|
|
@ -7,7 +7,3 @@ csi_purpose: Provide the testing environment of copr's frontend
|
||||||
csi_relationship: This host is the testing environment for copr's web interface
|
csi_relationship: This host is the testing environment for copr's web interface
|
||||||
|
|
||||||
copr_mbs_cli_login: Y29wcg==##vtvvikhcjncwkfkdcssv
|
copr_mbs_cli_login: Y29wcg==##vtvvikhcjncwkfkdcssv
|
||||||
|
|
||||||
# We set this here because we have a task that uses become_user where the user does not
|
|
||||||
# have perms to write to their homedir. So we cannot use the default ~user/.ansible tmpdir.
|
|
||||||
ansible_remote_tmp: /tmp/.ansible-${USER}/tmp
|
|
||||||
|
|
|
@ -72,7 +72,3 @@ fedmsg_certs:
|
||||||
|
|
||||||
# we need this to log with fedmsg-logger
|
# we need this to log with fedmsg-logger
|
||||||
fedmsg_active: True
|
fedmsg_active: True
|
||||||
|
|
||||||
# We set this here because we have a task that uses become_user where the user does not
|
|
||||||
# have perms to write to their homedir. So we cannot use the default ~user/.ansible tmpdir.
|
|
||||||
ansible_remote_tmp: /tmp/.ansible-${USER}/tmp
|
|
||||||
|
|
|
@ -87,7 +87,3 @@ fedmsg_active: True
|
||||||
|
|
||||||
# makes sure it sends stg not prod fedmsgs
|
# makes sure it sends stg not prod fedmsgs
|
||||||
fedmsg_env: stg
|
fedmsg_env: stg
|
||||||
|
|
||||||
# We set this here because we have a task that uses become_user where the user does not
|
|
||||||
# have perms to write to their homedir. So we cannot use the default ~user/.ansible tmpdir.
|
|
||||||
#ansible_remote_tmp: /tmp/.ansible-${USER}/tmp
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ inventory = {{ ansible_base }}/ansible/inventory
|
||||||
#library = /usr/share/my_modules/
|
#library = /usr/share/my_modules/
|
||||||
library = {{ ansible_base }}/ansible/library:/usr/share/ansible
|
library = {{ ansible_base }}/ansible/library:/usr/share/ansible
|
||||||
#module_utils = /usr/share/my_module_utils/
|
#module_utils = /usr/share/my_module_utils/
|
||||||
#remote_tmp = ~/.ansible/tmp
|
remote_tmp = /tmp
|
||||||
#local_tmp = ~/.ansible/tmp
|
#local_tmp = ~/.ansible/tmp
|
||||||
#forks = 5
|
#forks = 5
|
||||||
forks = 150
|
forks = 150
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue