system-config/playbooks/sync-gitea-projects.yaml

17 lines
437 B
YAML

- hosts: "localhost:!disabled"
name: "sync-gitea-projects: Collect the project-config ref"
strategy: free
connection: local
tasks:
- name: Clone project-config repo
git:
repo: https://opendev.org/openstack/project-config
dest: /opt/project-config
force: yes
- hosts: "gitea:!disabled"
name: "Create repos on gitea servers"
roles:
- role: gitea-git-repos
gitea_always_update: true