This reverts commit a39a939e03
.
Turns out that ansible module args don't get typed the way we expect
them. This means having a Boolean or List type argument just ends up in
confusion and always_update being truthy every which way. Revert until
we can fix this properly.
Change-Id: I596fe6883098ba636b1cad5196d1fdd76ff19076
changes/28/814228/1
parent
dd03cdedc3
commit
fb1b82f3aa
@ -1,9 +1,16 @@
|
||||
# Note: Override the gitea_always_update rolevar to either true (update all) or
|
||||
# a list of specific projects if you want metadata applied for these, otherwise
|
||||
# the default (false) does not set any project metadata. We intentionally leave
|
||||
# it unset here so that we can test it in the system-config-run-gitea job after
|
||||
# renaming a project, or to be able to set it from the command line.
|
||||
- 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
|
||||
|
Loading…
Reference in new issue