Add role to do a vos release on an AFS volume

We need this for the wheel mirror and also for the package mirrors.

Change-Id: I2b7ace2ec2c318534ae98532736b56850d89eca5
This commit is contained in:
Monty Taylor 2017-09-01 16:36:02 -05:00
parent ce252a9051
commit 7d7782cac2
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,9 @@
Run vos release on an AFS volume
Assumes a valid token has already been acquired via aklog.
**Role Variables**
.. zuul:rolevar:: afs_volume
String containing the name of the volume to release.

View File

@ -0,0 +1,6 @@
- name: Emit volume name
debug:
var: afs_volume
- name: Releasing AFS volume
command: "vos release -v {{ afs_volume }}"