Fix zuul.conf jinja2 template

This adds a necessary newline, removes port numbers, and sets the
executor ssh key to the correct path.

Change-Id: I6b4afa876b6cd7d8f87cc35bc51b4e9d6e31ee2b
This commit is contained in:
Clark Boylan 2020-04-24 15:36:31 -07:00
parent b7c0c0f8ce
commit 18568882b8
2 changed files with 13 additions and 2 deletions

View File

@ -1597,6 +1597,16 @@
- playbooks/service-letsencrypt.yaml - playbooks/service-letsencrypt.yaml
- playbooks/service-zookeeper.yaml - playbooks/service-zookeeper.yaml
- playbooks/service-zuul.yaml - playbooks/service-zuul.yaml
host-vars:
zm01.openstack.org:
host_copy_output:
'/etc/zuul/zuul.conf': logs
ze01.openstack.org:
host_copy_output:
'/etc/zuul/zuul.conf': logs
zuul01.openstack.org:
host_copy_output:
'/etc/zuul/zuul.conf': logs
files: files:
- playbooks/install-ansible.yaml - playbooks/install-ansible.yaml
- playbooks/service-zookeeper.yaml - playbooks/service-zookeeper.yaml

View File

@ -28,7 +28,8 @@ relative_priority=true
user=zuul user=zuul
[zookeeper] [zookeeper]
hosts={% for host in groups['zookeeper'] %}{{ (hostvars[host].ansible_default_ipv4.address) }}:2888:3888{% if not loop.last %},{% endif %}{% endfor %} hosts={% for host in groups['zookeeper'] %}{{ (hostvars[host].ansible_default_ipv4.address) }}{% if not loop.last %},{% endif %}{% endfor %}
session_timeout=40 session_timeout=40
[statsd] [statsd]
@ -45,7 +46,7 @@ manage_ansible=false
log_config=/etc/zuul/executor-logging.conf log_config=/etc/zuul/executor-logging.conf
job_dir=/var/lib/zuul/builds job_dir=/var/lib/zuul/builds
variables=/opt/project-config/zuul/site-variables.yaml variables=/opt/project-config/zuul/site-variables.yaml
private_key_file=/var/lib/zuul/ssh/id_rsa private_key_file=/var/lib/zuul/ssh/nodepool_id_rsa
trusted_ro_paths=/etc/openafs:/etc/ssl/certs:/var/lib/zuul/ssh trusted_ro_paths=/etc/openafs:/etc/ssl/certs:/var/lib/zuul/ssh
trusted_rw_paths=/afs trusted_rw_paths=/afs
untrusted_ro_paths=/etc/ssl/certs untrusted_ro_paths=/etc/ssl/certs