Skip to content

Commit

Permalink
Add TMP directories to environment for git tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
kentr committed May 31, 2018
1 parent 41d1164 commit cee2b52
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tasks/deploy.yml
Expand Up @@ -15,6 +15,12 @@
force: yes
dest: "{{ wp_deploy_dir }}"
accept_hostkey: "{{ wp_deploy_accept_hostkey }}"
# Add TMP directories to environment to work around
# https://github.com/ansible/ansible/issues/30064
environment:
TMPDIR: "{{ ansible_env.HOME }}/.ansible/tmp"
TMP: "{{ ansible_env.HOME }}/.ansible/tmp"
TEMP: "{{ ansible_env.HOME }}/.ansible/tmp"
register: wp_deploy_repo_updated
notify: clear opcache
become: no

0 comments on commit cee2b52

Please sign in to comment.