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:
|
bind:
|
||||||
- ':::80'
|
- ':::80'
|
||||||
servers:
|
servers:
|
||||||
|
- name: 'zuul01.opendev.org'
|
||||||
|
address: '104.130.246.57:80'
|
||||||
- name: 'zuul02.opendev.org'
|
- name: 'zuul02.opendev.org'
|
||||||
address: '104.130.246.31:80'
|
address: '104.130.246.31:80'
|
||||||
- name: balance_zuul_https
|
- name: balance_zuul_https
|
||||||
bind:
|
bind:
|
||||||
- ':::443'
|
- ':::443'
|
||||||
servers:
|
servers:
|
||||||
|
- name: 'zuul01.opendev.org'
|
||||||
|
address: '104.130.246.57:443'
|
||||||
- name: 'zuul02.opendev.org'
|
- name: 'zuul02.opendev.org'
|
||||||
address: '104.130.246.31:443'
|
address: '104.130.246.31:443'
|
||||||
- name: balance_zuul_finger
|
- name: balance_zuul_finger
|
||||||
bind:
|
bind:
|
||||||
- ':::79'
|
- ':::79'
|
||||||
servers:
|
servers:
|
||||||
|
- name: 'zuul01.opendev.org'
|
||||||
|
address: '104.130.246.57:79'
|
||||||
- name: 'zuul02.opendev.org'
|
- name: 'zuul02.opendev.org'
|
||||||
address: '104.130.246.31:79'
|
address: '104.130.246.31:79'
|
||||||
iptables_extra_public_tcp_ports:
|
iptables_extra_public_tcp_ports:
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
# Run this with "-f 20"
|
# Run this with "-f 20"
|
||||||
|
|
||||||
- hosts: 'zuul02.opendev.org:!disabled'
|
- hosts: 'zuul-scheduler:!disabled'
|
||||||
tasks:
|
tasks:
|
||||||
- include_role:
|
- include_role:
|
||||||
name: zuul-scheduler
|
name: zuul-scheduler
|
||||||
tasks_from: start
|
tasks_from: start
|
||||||
|
|
||||||
|
- hosts: 'zuul-web:!disabled'
|
||||||
|
tasks:
|
||||||
- include_role:
|
- include_role:
|
||||||
name: zuul-web
|
name: zuul-web
|
||||||
tasks_from: start
|
tasks_from: start
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
# Run this with "-f 20"
|
# Run this with "-f 20"
|
||||||
|
|
||||||
- hosts: 'zuul02.opendev.org:!disabled'
|
- hosts: 'zuul-scheduler:!disabled'
|
||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
tasks:
|
tasks:
|
||||||
- include_role:
|
- include_role:
|
||||||
name: zuul-scheduler
|
name: zuul-scheduler
|
||||||
tasks_from: stop
|
tasks_from: stop
|
||||||
|
|
||||||
|
- hosts: 'zuul-web:!disabled'
|
||||||
|
tasks:
|
||||||
- include_role:
|
- include_role:
|
||||||
name: zuul-web
|
name: zuul-web
|
||||||
tasks_from: stop
|
tasks_from: stop
|
||||||
|
@ -379,7 +379,7 @@
|
|||||||
- inventory/service/group_vars/zuul
|
- inventory/service/group_vars/zuul
|
||||||
- inventory/service/group_vars/zookeeper.yaml
|
- inventory/service/group_vars/zookeeper.yaml
|
||||||
- inventory/service/host_vars/zk\d+
|
- 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/install-docker/
|
||||||
- playbooks/roles/iptables/
|
- playbooks/roles/iptables/
|
||||||
- playbooks/roles/zookeeper/
|
- playbooks/roles/zookeeper/
|
||||||
|
Loading…
Reference in New Issue
Block a user