
In preparation for replacing the zuulv3.openstack.org host with a larger instance, set up the necessary support in Puppet/Hiera/Ansible. While we're here, remove or replace old references to the since-deleted zuul.openstack.org instance, and where possible update documentation and configuration to refer to the new zuul.openstack.org CNAME instead of the zuulv3.openstack.org FQDN so as to smooth the future transition. Change-Id: Ie51e133afb238dcfdbeff09747cbd2e53093ef84
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
---
|
|
- hosts: "localhost:!disabled"
|
|
strategy: free
|
|
gather_facts: true
|
|
connection: local
|
|
tasks:
|
|
# Note that git module does ls-remote if clone is set to no and places
|
|
# the remote_head value in returndict.after
|
|
- git: repo=https://git.openstack.org/openstack-infra/project-config clone=no
|
|
register: gitinfo
|
|
roles:
|
|
- role: puppet
|
|
copy_hieradata: False
|
|
copy_puppet: False
|
|
- hosts: "git0*:!disabled"
|
|
strategy: free
|
|
gather_facts: true
|
|
max_fail_percentage: 1
|
|
roles:
|
|
- role: puppet
|
|
facts:
|
|
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
|
- hosts: "review.openstack.org:!disabled"
|
|
strategy: free
|
|
gather_facts: true
|
|
roles:
|
|
- role: puppet
|
|
facts:
|
|
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
|
vars:
|
|
puppet_timeout: 60m
|
|
- hosts: "zuul[0-9]+.openstack.org:!disabled"
|
|
strategy: free
|
|
gather_facts: true
|
|
roles:
|
|
- role: puppet
|
|
facts:
|
|
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
|
vars:
|
|
puppet_timeout: 60m
|
|
- hosts: "zuulv3.openstack.org:!disabled"
|
|
strategy: free
|
|
gather_facts: true
|
|
roles:
|
|
- role: puppet
|
|
facts:
|
|
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
|
vars:
|
|
puppet_timeout: 60m
|