Only update gitea project settings during creation
It takes too long to update them all every time. Only update them when we create the project. Change-Id: I2a2b2515b57a4e6a494a7c73dd86e562816a31ea
This commit is contained in:
parent
626bc0459a
commit
1b7d793f7d
@ -23,6 +23,7 @@
|
|||||||
private: false
|
private: false
|
||||||
register: create_repo_result
|
register: create_repo_result
|
||||||
- name: Adjust repo settings
|
- name: Adjust repo settings
|
||||||
|
when: project.project not in gitea_repos
|
||||||
uri:
|
uri:
|
||||||
url: "{{ gitea_url }}/{{ org }}/{{ repo }}/settings"
|
url: "{{ gitea_url }}/{{ org }}/{{ repo }}/settings"
|
||||||
validate_certs: false
|
validate_certs: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user