linux-system-roles / tuned

An ansible role which configures tuned performance and power profiles
https://linux-system-roles.github.io/
MIT License
8 stars 11 forks source link

Allow the role to support check mode #4

Open oujlassi opened 2 years ago

oujlassi commented 2 years ago

set check_mode: no allow tasks to run even on check mode this prevent set_fact tasks from failure.

TASK [linux-system-roles.tuned : set_fact] ** fatal: [servera]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'stdout'\n\nThe error appears to be in '/home/student/.ansible/roles/linux-system-roles.tuned/tasks/main.yaml': line 25, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- set_fact:\n ^ here\n"}