Fix repo passing CI

Also remove linters from regular functional template

Depends-On: https://review.opendev.org/c/openstack/ansible-role-pki/+/798685
Depends-On: https://review.opendev.org/c/openstack/ansible-role-pki/+/798725
Depends-On: https://review.opendev.org/c/openstack/ansible-role-pki/+/798713
Change-Id: Ibfdb5185ee5da8f83858ef1f1db9ea3d332799ea
This commit is contained in:
Dmitriy Rabotyagov 2021-06-29 13:36:41 +03:00
parent 7da3518bf4
commit 76fe426827
3 changed files with 6 additions and 1 deletions

View File

@ -45,5 +45,5 @@ source "${COMMON_TESTS_PATH}/test-ansible-env-prep.sh"
# Execute ansible-lint. We do not want to test dependent roles located
# in $HOME/.ansible/roles since we only care about the role we are currently
# testing.
ANSIBLE_LINT_WARNINGS="-w 208 -w 306 -w 502 -w 503 -w metadata"
ANSIBLE_LINT_WARNINGS="-w 208 -w 306 -w 502 -w 503 -w var-naming -w role-name -w metadata"
ansible-lint ${ANSIBLE_LINT_PARAMS} ${ANSIBLE_LINT_WARNINGS} --exclude=$HOME/.ansible/roles ${TEST_PLAYBOOK}

View File

@ -72,6 +72,7 @@ lxc_container_config_list:
- "lxc.apparmor.profile={{ (hostvars[physical_host]['ansible_facts']['distribution'] == 'Debian') | ternary('unconfined', 'lxc-openstack') }}"
is_metal: "{{ not (ansible_facts['virtualization_type'] in ['lxc', 'systemd-nspawn']) }}"
physical_host: localhost
# Galera Settings
galera_address: "{{ test_galera_host }}"

View File

@ -51,3 +51,7 @@
src: https://opendev.org/openstack/ansible-role-python_venv_build
scm: git
version: master
- name: pki
src: https://opendev.org/openstack/ansible-role-pki
scm: git
version: master