e29a62d87f
Ansible task execution can be a bit slow - so the noop case where we don't end up doing anything can still be costly. Instead, put the when on the loop call, which will apply to each iteration of the loop, not running the loop itself. This way we should only include_tasks if we need to. In order for the utility playbook to keep working, we also run all of the iterations of the loop if gitea_always_update is true. This will make a sync run take a long time but be comprehensive. Change-Id: Ib60c736d46d8253e603de097eb80bc84b3366310