17 lines
493 B
Plaintext
17 lines
493 B
Plaintext
#Check BareMetall or VM
|
|
- name: Check if scaling governor
|
|
stat:
|
|
path: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|
|
register: scaling_governor_file
|
|
|
|
- name: Output result
|
|
debug:
|
|
var: scaling_governor_file.stat.exists
|
|
# msg: "File exists" if scaling_governor_file.stat.exists else "File does not exist"
|
|
|
|
- include_tasks: encrypt_disks.yml
|
|
- include_tasks: encrypt_disks_rroot.yml
|
|
- include_tasks: cpu_configuration.yml
|
|
- include_tasks: network_configuration.yml
|
|
|