d4c46ecdef
This replaces hard-coding of the host "bridge.openstack.org" with hard-coding of the first (and only) host in the group "bastion". The idea here is that we can, as much as possible, simply switch one place to an alternative hostname for the bastion such as "bridge.opendev.org" when we upgrade. This is just the testing path, for now; a follow-on will modify the production path (which doesn't really get speculatively tested) This needs to be defined in two places : 1) We need to define this in the run jobs for Zuul to use in the playbooks/zuul/run-*.yaml playbooks, as it sets up and collects logs from the testing bastion host. 2) The nested Ansible run will then use inventory inventory/service/groups.yaml Various other places are updated to use this abstracted group as the bastion host. Variables are moved into the bastion group (which only has one host -- the actual bastion host) which means we only have to update the group mapping to the new host. This is intended to be a no-op change; all the jobs should work the same, but just using the new abstractions. Change-Id: Iffb462371939989b03e5d6ac6c5df63aa7708513
8 lines
283 B
YAML
8 lines
283 B
YAML
- hosts: bastion:!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"
|