Simplify gitea project creation control flow

Previously we set strategy: free and max_fail_percentage: 1 and this
probably made sense when we were using native ansible to do all of the
work to create projects. That was slow and broken down into many tasks.

Now however, we have a single task that calls out to a python module
that does all the work for each gitea host. That means we won't get any
additional parallelization from the free strategy. We also don't want to
stop the python module on all hosts if any of them fail, instead let
them all run to completion if they can. Then if any giteas fail we
should skip the play on review.

Change-Id: I1548e7946526b683d71fe4e905faabd1049f186c
This commit is contained in:
Clark Boylan 2020-09-24 11:28:42 -07:00
parent b3233d1b71
commit 8a9ed04cab
2 changed files with 0 additions and 4 deletions

View File

@ -1,7 +1,5 @@
- hosts: "gitea:!disabled"
name: "Create repos on gitea servers"
strategy: free
max_fail_percentage: 1
roles:
- gitea-git-repos

View File

@ -11,8 +11,6 @@
- hosts: "gitea:!disabled"
name: "Create repos on gitea servers"
strategy: free
max_fail_percentage: 1
roles:
- role: gitea-git-repos
gitea_always_update: true