Don't include tuned tasks when checkmode

We don't get a tuned_check when in check mode so we should just skip the
config include.

Change-Id: Ic9d364d0f440b9308d57c2ebf07fbc12f6403c66
Closes-Bug: #1855502
This commit is contained in:
Alex Schultz 2019-12-06 15:35:24 -07:00
parent e880fa6e11
commit 08c965dcaa
1 changed files with 1 additions and 0 deletions

View File

@ -46,4 +46,5 @@
- include_tasks: tuned_config.yml
when:
- not ansible_check_mode
- tuned_check.rc == 0