From 103190200dd5fe8cd3ee5ea95fbcb3fe584c9c7e Mon Sep 17 00:00:00 2001 From: Amaury Chamayou Date: Wed, 8 Jan 2025 13:55:04 +0000 Subject: [PATCH] Add az-dcap-client back to main for now, to enable LTS-compatible base images --- getting_started/setup_vm/ccf-dev.yml | 3 +++ .../setup_vm/roles/az_dcap/tasks/install.yml | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 getting_started/setup_vm/roles/az_dcap/tasks/install.yml diff --git a/getting_started/setup_vm/ccf-dev.yml b/getting_started/setup_vm/ccf-dev.yml index 03126eee986d..a3ed43776cc0 100644 --- a/getting_started/setup_vm/ccf-dev.yml +++ b/getting_started/setup_vm/ccf-dev.yml @@ -25,6 +25,9 @@ - import_role: name: lldb tasks_from: install.yml + - import_role: + name: az_dcap + tasks_from: install.yml - import_role: name: autoremove tasks_from: install.yml diff --git a/getting_started/setup_vm/roles/az_dcap/tasks/install.yml b/getting_started/setup_vm/roles/az_dcap/tasks/install.yml new file mode 100644 index 000000000000..14b1d5ead421 --- /dev/null +++ b/getting_started/setup_vm/roles/az_dcap/tasks/install.yml @@ -0,0 +1,18 @@ +- name: Add Microsoft repository key + apt_key: + url: "https://packages.microsoft.com/keys/microsoft.asc" + state: present + become: true + +- name: Add Microsoft sources list + apt_repository: + repo: "deb [arch=amd64] https://packages.microsoft.com/ubuntu/{{ ansible_distribution_version }}/prod {{ ansible_distribution_release }} main" + state: present + become: true + +- name: Install the Azure DCAP Client + apt: + name: az-dcap-client + state: present + force: true + become: true