ansible-collections / community.cassandra

Cassandra Ansible Collection
http://galaxy.ansible.com/community/cassandra
GNU General Public License v3.0
25 stars 19 forks source link

Fix unsafe conditional statement #262

Closed rhysmeister closed 10 months ago

rhysmeister commented 10 months ago
SUMMARY

Fixes the following error from integration tests...

TASK [cassandra_timeout : assert] ** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: result.msg == '{{ item }} timeout changed' fatal: [testhost]: FAILED! => {"msg": "The conditional check 'result.msg == '{{ item }} timeout changed'' failed. The error was: Conditional is marked as unsafe, and cannot be evaluated."}

ISSUE TYPE
codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (3a0ea57) 77.60% compared to head (7310007) 77.60%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #262 +/- ## ======================================= Coverage 77.60% 77.60% ======================================= Files 37 37 Lines 2661 2661 Branches 606 606 ======================================= Hits 2065 2065 Misses 308 308 Partials 288 288 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.