aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/nomad.yaml
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-03-22 08:46:04 +0000
committerPeter Mikus <pmikus@cisco.com>2021-03-29 08:43:57 +0000
commit571108e9ccec90c3719f5336650d624b4e8e9c47 (patch)
treeae356073df85ca83156c016f0bc2ee9ad9aeec35 /resources/tools/testbed-setup/ansible/roles/cleanup/tasks/nomad.yaml
parentac7045fed2e1593fbbdf22113fb2983989583c7a (diff)
Infra: Ansible sync
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I4b1516a957447b8356949626e385b9317ed1933c (cherry picked from commit 3402c93328d877ef09a026f5a491eabd34f8bc1e)
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/cleanup/tasks/nomad.yaml')
-rw-r--r--resources/tools/testbed-setup/ansible/roles/cleanup/tasks/nomad.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/nomad.yaml b/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/nomad.yaml
new file mode 100644
index 0000000000..3c5bf6462d
--- /dev/null
+++ b/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/nomad.yaml
@@ -0,0 +1,22 @@
+---
+# file: roles/cleanup/tasks/nomad.yaml
+
+- name: Host Cleanup
+ block:
+ - name: Clean Images
+ import_tasks: clean_images.yaml
+ vars:
+ images_to_prefetch_by_arch:
+ aarch64:
+ - "fdiotools/builder-ubuntu2004:prod-aarch64"
+ - "fdiotools/builder-ubuntu1804:prod-aarch64"
+ - "fdiotools/builder-centos8:prod-aarch64"
+ x86_64:
+ - "fdiotools/builder-ubuntu2004:prod-x86_64"
+ - "fdiotools/builder-ubuntu1804:prod-x86_64"
+ - "fdiotools/builder-debian10:prod-x86_64"
+ - "fdiotools/builder-debian9:prod-x86_64"
+ - "fdiotools/builder-centos8:prod-x86_64"
+ - "fdiotools/builder-centos7:prod-x86_64"
+ tags:
+ - clean-images \ No newline at end of file