Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 8b849f09 authored by Adam Robinson's avatar Adam Robinson
Browse files

allow passing user to VMware or using environment

parent 25a57e39
---
# defaults file for vmware_foreshadow_mitigation
vmware_user: "{{ lookup('env','VMWARE_USER') }}"
vmware_password: "{{ lookup('env','VMWARE_PASSWORD') }}"
scheduler: "SCAv1"
schedulers:
- "unmitigated"
......
......@@ -5,19 +5,19 @@
fail_msg: "`scheduler` must be set to unmitigated, SCAv1, or SCAv2"
- name: Set unmitigated variables
set_variable:
set_fact:
hyperthreadingMitigation: false
hyperthreadingMitigationIntraVM: true
when: scheduler == "unmitigated"
- name: Set SCAv1 variables
set_variable:
set_fact:
hyperthreadingMitigation: true
hyperthreadingMitigationIntraVM: true
when: scheduler == "SCAv1"
- name: Set SCAv2 variables
set_variable:
set_fact:
hyperthreadingMitigation: true
hyperthreadingMitigationIntraVM: false
when: scheduler == "SCAv2"
......@@ -26,6 +26,8 @@
vmware_host_config_manager:
hostname: '{{ vcenter_hostname }}'
esxi_hostname: '{{ inventory_hostname }}'
username: '{{ vmware_user }}'
password: '{{ vmware_password }}'
options:
'VMkernel.Boot.hyperthreadingMitigation': '{{ hyperthreadingMitigation }}'
delegate_to: localhost
......@@ -35,6 +37,8 @@
vmware_host_config_manager:
hostname: '{{ vcenter_hostname }}'
esxi_hostname: '{{ inventory_hostname }}'
username: '{{ vmware_user }}'
password: '{{ vmware_password }}'
options:
'VMkernel.Boot.hyperthreadingMitigationIntraVM': '{{ hyperthreadingMitigationIntraVM }}'
delegate_to: localhost
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment