system-config/playbooks/test-update-zuul-description.yaml
Clark Boylan fe097e52a3 Update gitea project descriptions
When we decide we don't need to create a project we set the project
description. The reason for this is that humans like to see their
project descriptions update when they change them.

Rather than get, compare, and set the descrition we just set it under
the assumption this will be fewer requests and thus quicker. The impact
on the db likely plays into this too but our gitea dbs are mostly idle
so should be fine.

Change-Id: I04bdd747f8934d0b35bf76aec5d70be01b921285
2020-09-23 14:33:26 -07:00

8 lines
298 B
YAML

- hosts: "bridge.openstack.org:!disabled"
tasks:
- name: Modify Zuuls description
lineinfile:
path: "{{ project_config_src }}/gerrit/projects.yaml"
regexp: "^ description: The Gatekeeper, or a project gating system"
line: " description: Zuuls new description"