2 # file: roles/calibration/tasks/main.yaml
4 - name: Print Ansible facts
5 debug: var=ansible_facts
7 - name: Calibration - Install Distribution - Release - Machine Prerequisites
9 name: "{{ packages | flatten(levels=1) }}"
13 - install-dependencies
15 - name: Calibration - Get Spectre Meltdown Checker
17 url: "https://meltdown.ovh"
18 dest: "/opt/spectre-meltdown-checker.sh"
21 - check-spectre-meltdown
23 - name: Calibration - Run Spectre Meltdown Checker
24 shell: "/opt/spectre-meltdown-checker.sh --no-color || true"
28 register: spectre_meltdown_async
30 - check-spectre-meltdown
32 - name: Calibration - {{ ansible_machine }} Specific
33 include_tasks: "{{ ansible_machine }}.yaml"
35 - check-machine-specific
38 - name: Calibration - Get BIOS info
39 shell: "dmidecode -t bios"
41 register: dmidecode_bios
45 - debug: var=dmidecode_bios.stdout_lines
49 - name: Check sync status
51 jid: "{{ spectre_meltdown_async.ansible_job_id }}"
52 register: "spectre_meltdown_poll_results"
53 until: spectre_meltdown_poll_results.finished
56 - debug: var=spectre_meltdown_poll_results.stdout_lines
58 - check-spectre-meltdown