melhindi.intel_sgx_pws
Ansible Role: Intel_SGX_PWS
This Ansible Role is designed to install the Intel SGX Platform Software (Intel SGX PSW) and Intel SGX DCAP as per the Intel SGX Software Installation Guide for Linux.
Requirements
No additional setup is required outside of Ansible or this role.
Role Variables
The file defaults/main.yml
specifies the packages that will be installed based on the Intel SGX Software Installation Guide.
In the vars/main.yml
file, two variables are defined to let you choose whether to install development and debug packages:
install_sgx_debug: true # if true, debug packages will be installed (default is true)
install_sgx_dev: true # if true, development packages will be installed (default is true)
Dependencies
There are no external dependencies related to this role.
Example Playbook
Here’s a simple example of how to use this role in a playbook:
- hosts: all
roles:
- { role: melhindi.intel_sgx_pws }
License
This role is licensed under Apache 2.0.
Contribute
To help develop this role, follow these steps:
# 1. Clone the repository for the role:
git clone git@github.com:melhindi/ansible-role-intel-sgx-pws.git melhindi.intel_sgx_pws
# 2. Set up a virtual environment
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt
# 3. Test the role using molecule
molecule converge
Note: This setup assumes you do not have globally installed versions of Ansible or Molecule, as those might cause conflicts.