Run zuul-web on zuul01 and add to load balancer
Change-Id: Ia8b10338fa3a1876993404276e0759f4b10d6b54
This commit is contained in:
parent
bd70f7b9d5
commit
3f8acefbe1
@ -3,18 +3,24 @@ zuul_lb_listeners:
|
||||
bind:
|
||||
- ':::80'
|
||||
servers:
|
||||
- name: 'zuul01.opendev.org'
|
||||
address: '104.130.246.57:80'
|
||||
- name: 'zuul02.opendev.org'
|
||||
address: '104.130.246.31:80'
|
||||
- name: balance_zuul_https
|
||||
bind:
|
||||
- ':::443'
|
||||
servers:
|
||||
- name: 'zuul01.opendev.org'
|
||||
address: '104.130.246.57:443'
|
||||
- name: 'zuul02.opendev.org'
|
||||
address: '104.130.246.31:443'
|
||||
- name: balance_zuul_finger
|
||||
bind:
|
||||
- ':::79'
|
||||
servers:
|
||||
- name: 'zuul01.opendev.org'
|
||||
address: '104.130.246.57:79'
|
||||
- name: 'zuul02.opendev.org'
|
||||
address: '104.130.246.31:79'
|
||||
iptables_extra_public_tcp_ports:
|
||||
|
@ -1,10 +1,13 @@
|
||||
# Run this with "-f 20"
|
||||
|
||||
- hosts: 'zuul02.opendev.org:!disabled'
|
||||
- hosts: 'zuul-scheduler:!disabled'
|
||||
tasks:
|
||||
- include_role:
|
||||
name: zuul-scheduler
|
||||
tasks_from: start
|
||||
|
||||
- hosts: 'zuul-web:!disabled'
|
||||
tasks:
|
||||
- include_role:
|
||||
name: zuul-web
|
||||
tasks_from: start
|
||||
|
@ -1,11 +1,14 @@
|
||||
# Run this with "-f 20"
|
||||
|
||||
- hosts: 'zuul02.opendev.org:!disabled'
|
||||
- hosts: 'zuul-scheduler:!disabled'
|
||||
any_errors_fatal: true
|
||||
tasks:
|
||||
- include_role:
|
||||
name: zuul-scheduler
|
||||
tasks_from: stop
|
||||
|
||||
- hosts: 'zuul-web:!disabled'
|
||||
tasks:
|
||||
- include_role:
|
||||
name: zuul-web
|
||||
tasks_from: stop
|
||||
|
@ -379,7 +379,7 @@
|
||||
- inventory/service/group_vars/zuul
|
||||
- inventory/service/group_vars/zookeeper.yaml
|
||||
- inventory/service/host_vars/zk\d+
|
||||
- inventory/service/host_vars/zuul02.opendev.org
|
||||
- inventory/service/host_vars/zuul\d+.opendev.org
|
||||
- playbooks/roles/install-docker/
|
||||
- playbooks/roles/iptables/
|
||||
- playbooks/roles/zookeeper/
|
||||
|
Loading…
Reference in New Issue
Block a user