system-config/playbooks/manage-projects.yaml
Ian Wienand 163d5b6133 Create review-staging group
Create a review-staging group so we can bring up a new server but
avoid running the project-management steps on it.

Change-Id: I93d2a36edcd58a48a36031f0692be3273a36f07c
2021-03-24 11:40:33 +11:00

16 lines
388 B
YAML

- hosts: "gitea:!disabled"
name: "Create repos on gitea servers"
roles:
- gitea-git-repos
- hosts: "review:!review-staging:!disabled"
name: "Create repos on gerrit servers"
tasks:
- name: Sync project-config
include_role:
name: sync-project-config
- name: Run manage-projects
include_role:
name: gerrit
tasks_from: manage-projects