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:
Monty Taylor 2019-03-04 16:03:57 +00:00
parent 626bc0459a
commit 1b7d793f7d

View File

@ -23,6 +23,7 @@
private: false
register: create_repo_result
- name: Adjust repo settings
when: project.project not in gitea_repos
uri:
url: "{{ gitea_url }}/{{ org }}/{{ repo }}/settings"
validate_certs: false