2019-04-17 05:49:07 +08:00
|
|
|
---
|
|
|
|
|
2023-07-26 22:36:22 +08:00
|
|
|
- name: Terminate Packet VMs
|
|
|
|
hosts: localhost
|
2024-08-28 13:30:56 +08:00
|
|
|
gather_facts: false
|
2019-04-17 05:49:07 +08:00
|
|
|
become: true
|
|
|
|
vars:
|
|
|
|
ci_job_name: "{{ lookup('env', 'CI_JOB_NAME') }}"
|
|
|
|
test_name: "{{ test_id | regex_replace('\\.', '-') }}"
|
|
|
|
roles:
|
|
|
|
- { role: packet-ci, vm_cleanup: true }
|