Skip to content

Commit

Permalink
Switch from cvmfs_config wipecache to cvmfs_talk remount sync
Browse files Browse the repository at this point in the history
  • Loading branch information
natefoo committed Feb 16, 2018
1 parent 77742e1 commit da54b71
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion env/common/_inc_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
remote_user: "{{ galaxy_user }}"
roles:
- role: usegalaxy_cvmfs
galaxy_cvmfs_wipecache: yes
galaxy_cvmfs_flush_cache: yes
tags:
- no-restart
5 changes: 5 additions & 0 deletions roles/usegalaxy_cvmfs/tasks/flush_cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

---

- name: Wipe CVMFS cache
command: /usr/local/bin/cvmfs_remount_sync {{ galaxy_cvmfs_repo }}
4 changes: 2 additions & 2 deletions roles/usegalaxy_cvmfs/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
when: galaxy_cvmfs_snapshot is defined and galaxy_cvmfs_snapshot

- name: Include tasks for wiping client caches
include: wipecache.yml
when: galaxy_cvmfs_wipecache is defined and galaxy_cvmfs_wipecache
include: flush_cache.yml
when: galaxy_cvmfs_flush_cache is defined and galaxy_cvmfs_flush_cache
5 changes: 0 additions & 5 deletions roles/usegalaxy_cvmfs/tasks/wipecache.yml

This file was deleted.

0 comments on commit da54b71

Please sign in to comment.