зеркало из https://github.com/microsoft/CCF.git
Allow sgx and virtual builds to be installed side-by-side using Ansible. (#4693)
This commit is contained in:
Родитель
e638c5edca
Коммит
817c2c3e0a
|
@ -14,14 +14,21 @@
|
|||
- import_role:
|
||||
name: az_dcap
|
||||
tasks_from: install.yml
|
||||
|
||||
# If OE is already installed, we don't want to install hostverify as they are mutually
|
||||
# exclusive. Non-SGX CCF builds can use either of them.
|
||||
- name: Gather the package facts
|
||||
ansible.builtin.package_facts:
|
||||
manager: auto
|
||||
- import_role:
|
||||
name: openenclave
|
||||
tasks_from: binary_install.yml
|
||||
when: platform == "sgx"
|
||||
when: (platform == "sgx") or ("open-enclave" in ansible_facts.packages)
|
||||
- import_role:
|
||||
name: openenclave
|
||||
tasks_from: install_host_verify.yml
|
||||
when: platform != "sgx"
|
||||
when: (platform != "sgx") and ("open-enclave" not in ansible_facts.packages)
|
||||
|
||||
- import_role:
|
||||
name: ccf_build
|
||||
tasks_from: install.yml
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
- name: Include vars
|
||||
include_vars: common.yml
|
||||
|
||||
- name: Uninstall Open Enclave Host Verify
|
||||
apt:
|
||||
name: open-enclave-hostverify
|
||||
state: absent
|
||||
become: yes
|
||||
|
||||
- name: Install Open Enclave
|
||||
apt:
|
||||
deb: "{{ oe_deb }}"
|
||||
|
|
Загрузка…
Ссылка в новой задаче