From 81760394d61dae46f91fdc1b5d893472a4eaf3ac Mon Sep 17 00:00:00 2001 From: Robby Cochran Date: Wed, 14 Aug 2024 14:21:23 -0700 Subject: [PATCH 1/2] X-Smart-Branch-Parent: master From 48605f1a191efcd6211c6986cf14915f766dc817 Mon Sep 17 00:00:00 2001 From: Robby Cochran Date: Wed, 14 Aug 2024 14:21:43 -0700 Subject: [PATCH 2/2] enable collection method --- ansible/integration-tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ansible/integration-tests.yml b/ansible/integration-tests.yml index 555c94d4ba..c35eca8211 100644 --- a/ansible/integration-tests.yml +++ b/ansible/integration-tests.yml @@ -10,7 +10,10 @@ name: create-all-vms vars: vm_list: "{{ virtual_machines }}" - collection_method: "core_bpf" + collection_method: "{{ method }}" + loop: "{{ lookup('env', 'COLLECTION_METHODS', default='core_bpf,ebpf') | split(',') }}" + loop_control: + loop_var: method post_tasks: # We have all the VMs created now, so refresh the inventory - this allows # us to use the provisioning role on the VMs we just created