Merge "Add role to do a vos release on an AFS volume"
This commit is contained in:
commit
88cd3b6c58
9
roles/release-afs-volume/README.rst
Normal file
9
roles/release-afs-volume/README.rst
Normal 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.
|
6
roles/release-afs-volume/tasks/main.yaml
Normal file
6
roles/release-afs-volume/tasks/main.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
- name: Emit volume name
|
||||
debug:
|
||||
var: afs_volume
|
||||
|
||||
- name: Releasing AFS volume
|
||||
command: "vos release -v {{ afs_volume }}"
|
Loading…
x
Reference in New Issue
Block a user