diff options
author | 2017-12-20 13:21:16 -0500 | |
---|---|---|
committer | 2017-12-20 13:21:16 -0500 | |
commit | 7c82beda82b39539b7125771835600aed9c5ae64 (patch) | |
tree | 958bae83abc73c1459a206009f26b4685e82e7b4 /pharoslaas/actions/workflows/clean-workflow.yaml | |
parent | 53a564fab5c147b7c8d84a74b6d935c787c85172 (diff) |
Adds workflows to deploy and clean hosts
JIRA: PHAROS-322
JIRA: PHAROS-333
Adds the workflows that deploy a host on the start of a booking
and cleans the host at the end of the booking automatically.
Change-Id: Ice1477df5caf12386402528c4e59637bf0f46670
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'pharoslaas/actions/workflows/clean-workflow.yaml')
-rw-r--r-- | pharoslaas/actions/workflows/clean-workflow.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pharoslaas/actions/workflows/clean-workflow.yaml b/pharoslaas/actions/workflows/clean-workflow.yaml new file mode 100644 index 0000000..c0a13e7 --- /dev/null +++ b/pharoslaas/actions/workflows/clean-workflow.yaml @@ -0,0 +1,16 @@ +--- +chain: + - + name: "image" + ref: "pharoslaas.fog_imageWorkflow" + parameters: + host: "{{host}}" + on-success: "delete_vpn_user" + + - + name: "delete_vpn_user" + ref: "pharoslaas.vpn_delete_user" + parameters: + key: "{{key}}" + +default: "image" |