Logan V 00ad3500c8 Fix conditional cast to bool
While running the hardening role, I found that a small VM would
regularly crash ansible on the chrony configuration templating
task with "A worker was found in a dead state!". An ansible bug[0]
shows that this can be caused by jinja templating that is not casted
to the correct type.

After verifying the crash was reproducible 3-4 times in a row, this
crash stopped occuring once I started casting this variable to a bool.

I don't know if it is coincidence but it can't hurt to cast this
conditional regardless.

[0] https://github.com/ansible/ansible/issues/32554#issuecomment-382360908

Change-Id: Ie34de1808c807fd31099cc7d3d7b140ccfab64df
2019-03-15 23:01:45 -05:00
..
2019-01-07 12:56:12 -05:00
2017-09-21 16:02:42 -05:00
2019-01-07 12:56:12 -05:00
2018-03-07 13:30:45 +00:00
2017-04-04 07:22:12 -05:00
2017-11-08 07:28:47 -06:00
2019-01-07 12:56:12 -05:00
2019-03-15 23:01:45 -05:00
2019-01-07 12:56:12 -05:00
2017-11-09 14:47:53 +00:00
2018-01-18 10:03:25 -06:00
2019-01-07 12:56:12 -05:00