2 # file: roles/calibration/tasks/main.yaml
4 - name: Calibration - Install Distribution - Release - Machine Prerequisites
6 name: "{{ packages | flatten(levels=1) }}"
10 - install-dependencies
12 - name: Calibration - Get Spectre Meltdown Checker
14 url: "https://meltdown.ovh"
15 dest: "/opt/spectre-meltdown-checker.sh"
18 - check-spectre-meltdown
20 - name: Calibration - Run Spectre Meltdown Checker
21 shell: "/opt/spectre-meltdown-checker.sh --no-color || true"
25 register: spectre_meltdown_async
27 - check-spectre-meltdown
29 - name: Calibration - {{ ansible_machine }} Specific
30 include_tasks: "{{ ansible_machine }}.yaml"
32 - check-machine-specific
35 - name: Calibration - Get BIOS info
36 shell: "dmidecode -t bios"
38 register: dmidecode_bios
42 - debug: var=dmidecode_bios.stdout_lines
46 - name: Check sync status
48 jid: "{{ spectre_meltdown_async.ansible_job_id }}"
49 register: "spectre_meltdown_poll_results"
50 until: spectre_meltdown_poll_results.finished
53 - debug: var=spectre_meltdown_poll_results.stdout_lines
55 - check-spectre-meltdown