Browse Source

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
changes/32/697732/1
Alex Schultz 3 years ago
parent
commit
08c965dcaa
  1. 1
      tripleo_ansible/roles/tuned/tasks/main.yml

1
tripleo_ansible/roles/tuned/tasks/main.yml

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

Loading…
Cancel
Save