Skip to content

Commit c599c33

Browse files
authored
fix(build_tools): fix CCACHE_DIR env settings (autowarefoundation#6475)
* fix(build_tools): fix CCACHE_DIR env settings * Update main.yaml * Update main.yaml
1 parent 8a82f4b commit c599c33

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

ansible/roles/build_tools/tasks/main.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- name: Add CCACHE_DIR to .bashrc
99
ansible.builtin.lineinfile:
1010
dest: ~/.bashrc
11-
line: export CCACHE_DIR="/var/tmp/ccache"
11+
line: export CCACHE_DIR="$HOME/.ccache"
1212
state: present
1313
create: true
1414
mode: 0644
@@ -38,12 +38,6 @@
3838
create: true
3939
mode: 0644
4040

41-
- name: Create ccache directory
42-
ansible.builtin.file:
43-
path: /var/tmp/ccache
44-
state: directory
45-
mode: 0755
46-
4741
- name: Source .bashrc
4842
ansible.builtin.shell: source ~/.bashrc
4943
args:

0 commit comments

Comments
 (0)