Handle registry role running under py3

Also, correct the host_vars filename.  Again.
Also, make sure we run the test on changes to the host_vars filename.

Change-Id: I95fb61531bae677f5c68f4e56ed718da6c507eb9
This commit is contained in:
James E. Blair 2019-02-08 09:07:11 -08:00
parent ab557b2a98
commit 175a337e01
3 changed files with 2 additions and 1 deletions

View File

@ -495,6 +495,7 @@
files:
- .zuul.yaml
- playbooks/group_vars/registry.yaml
- ^playbooks/host_vars/insecure-ci-registry\d+.opendev.org.yaml
- playbooks/zuul/templates/group_vars/registry.yaml.j2
- playbooks/roles/registry/
- testinfra/test_registry.py

View File

@ -13,7 +13,7 @@
- name: Install passlib
package:
name:
- python-passlib
- python3-passlib
state: present
- name: Write htpassword file
htpasswd: