diff --git a/roles/release-afs-volume/README.rst b/roles/release-afs-volume/README.rst new file mode 100644 index 000000000..537b35cae --- /dev/null +++ b/roles/release-afs-volume/README.rst @@ -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. diff --git a/roles/release-afs-volume/tasks/main.yaml b/roles/release-afs-volume/tasks/main.yaml new file mode 100644 index 000000000..07088c501 --- /dev/null +++ b/roles/release-afs-volume/tasks/main.yaml @@ -0,0 +1,6 @@ +- name: Emit volume name + debug: + var: afs_volume + +- name: Releasing AFS volume + command: "vos release -v {{ afs_volume }}"