nodepool/playbooks/nodepool-functional-container-openstack/pre.yaml
James E. Blair 4c5fa46540 Require TLS
Require TLS Zookeeper connections before making the 4.0 release.

Change-Id: I69acdcec0deddfdd191f094f13627ec1618142af
Depends-On: https://review.opendev.org/776696
2021-02-19 18:42:33 +00:00

27 lines
714 B
YAML

- hosts: all
roles:
# for zookeeper, etc. on host
- role: bindep
bindep_dir: "{{ zuul.projects['opendev.org/zuul/nodepool'].src_dir }}"
- role: test-setup
zuul_work_dir: "{{ zuul.projects['opendev.org/zuul/nodepool'].src_dir }}"
- role: ensure-zookeeper
zookeeper_use_tls: true
- ensure-docker
# Note: keep after ensure-docker
- use-buildset-registry
- ensure-devstack
tasks:
- name: Install docker-compose dependencies
package:
name:
- docker-compose
become: yes
- name: Create a local user that matches the container UID
user:
name: nodepool
comment: nodepool
uid: 10001
become: yes