Remove gitea01 from inventory so we can replace it

The global inventory is used when launching nodes so if we want to
replace a server we have to remove it from the inventory first. This is
that step for replacing gitea01.

Note that when adding it back for the new server there are some edits to
make to the playbooks as noted in the gitea sysadmin docs.

We do also remove this instance from haproxy as well to prevent unwanted
connections while we flip things over.

Change-Id: If32405b1302353f1f262a30b7392533f86fec1e4
This commit is contained in:
Clark Boylan 2019-07-22 09:18:38 -07:00
parent 3828e7a7cb
commit a2af942fa3
2 changed files with 4 additions and 10 deletions

View File

@ -167,12 +167,6 @@ all:
cloud: openstackci-vexxhost
region_name: sjc1
public_v4: 38.108.68.124
gitea01.opendev.org:
ansible_host: 38.108.68.93
location:
cloud: openstackci-vexxhost
region_name: sjc1
public_v4: 38.108.68.93
gitea02.opendev.org:
ansible_host: 38.108.68.122
location:

View File

@ -3,8 +3,8 @@ haproxy_listeners:
bind:
- ':::80'
servers:
- name: 'gitea01.opendev.org'
address: '38.108.68.93:3080'
#- name: 'gitea01.opendev.org'
# address: '38.108.68.93:3080'
- name: 'gitea02.opendev.org'
address: '38.108.68.122:3080'
- name: 'gitea03.opendev.org'
@ -23,8 +23,8 @@ haproxy_listeners:
bind:
- ':::443'
servers:
- name: 'gitea01.opendev.org'
address: '38.108.68.93:3000'
#- name: 'gitea01.opendev.org'
# address: '38.108.68.93:3000'
- name: 'gitea02.opendev.org'
address: '38.108.68.122:3000'
- name: 'gitea03.opendev.org'