Closed pandafy closed 1 year ago
Bug: The "when" condition defined in "openwisp2_default_supervisor_restart" was not getting evaluated when the task was getting executed.
Fix: Wrapped the "when" condition in Jinja delimiters ("{{ }}"), so it is evaluated at variable assignment.
Closes https://github.com/openwisp/ansible-openwisp2/issues/406
Bug: The "when" condition defined in "openwisp2_default_supervisor_restart" was not getting evaluated when the task was getting executed.
Fix: Wrapped the "when" condition in Jinja delimiters ("{{ }}"), so it is evaluated at variable assignment.
Closes https://github.com/openwisp/ansible-openwisp2/issues/406