Enroll new gitea06 into ansible inventory
We add the new host so that it will get configured as a gitea backend server. We exclude this server from the list of gitea hosts to configure git repos on because we want to recover its DB from one of the other sibling nodes first. This should preserve the http redirects for us. Once we have the db recovered we can enable replication from gerrit then readd this host to the haproxy load balancer. Change-Id: Ia2a98e5ded43cad044db36ca8d0da5a96277afee
This commit is contained in:
parent
263ab148fe
commit
3734f000f9
@ -197,6 +197,13 @@ all:
|
|||||||
cloud: openstackci-vexxhost
|
cloud: openstackci-vexxhost
|
||||||
region_name: sjc1
|
region_name: sjc1
|
||||||
public_v4: 38.108.68.55
|
public_v4: 38.108.68.55
|
||||||
|
gitea06.opendev.org:
|
||||||
|
ansible_host: 38.108.68.250
|
||||||
|
location:
|
||||||
|
cloud: openstackci-vexxhost
|
||||||
|
region_name: sjc1
|
||||||
|
public_v4: 38.108.68.250
|
||||||
|
public_v6: 2604:e100:3:0:f816:3eff:fe72:b4a9
|
||||||
gitea07.opendev.org:
|
gitea07.opendev.org:
|
||||||
ansible_host: 38.108.68.86
|
ansible_host: 38.108.68.86
|
||||||
location:
|
location:
|
||||||
|
@ -22,7 +22,9 @@
|
|||||||
force: yes
|
force: yes
|
||||||
register: gitinfo
|
register: gitinfo
|
||||||
|
|
||||||
- hosts: "gitea:!disabled"
|
# We exclude gitea06 because we want to recover its database from a sibgling
|
||||||
|
# node in order to preserve the redirects.
|
||||||
|
- hosts: "gitea:!gitea06.opendev.org:!disabled"
|
||||||
name: "Create repos on gitea servers"
|
name: "Create repos on gitea servers"
|
||||||
strategy: free
|
strategy: free
|
||||||
max_fail_percentage: 1
|
max_fail_percentage: 1
|
||||||
|
Loading…
Reference in New Issue
Block a user