Bug #34953
openVarying rake tasks run even if 'refreshonly' check fails
Description
Origin post: https://community.theforeman.org/t/foreman-installer-log/28676
Log excerpt:
2022-05-19 18:35:58 [DEBUG ] [configure] /Stage[main]/Foreman/Foreman::Rake[apipie_dsl:cache]/Exec[foreman-rake-apipie_dsl:cache]: Starting to evaluate the resource (1352 of 2027)
2022-05-19 18:35:58 [DEBUG ] [configure] /Stage[main]/Foreman/Foreman::Rake[apipie_dsl:cache]/Exec[foreman-rake-apipie_dsl:cache]: '/usr/sbin/foreman-rake apipie_dsl:cache' won't be executed because of failed check 'refreshonly'
2022-05-19 18:35:58 [DEBUG ] [configure] Exec[foreman-rake-apipie_dsl:cache](provider=posix): Executing '/usr/sbin/foreman-rake apipie_dsl:cache'
2022-05-19 18:35:58 [DEBUG ] [configure] Executing with uid=foreman: '/usr/sbin/foreman-rake apipie_dsl:cache'
No data to display