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:
parent
7da3518bf4
commit
76fe426827
@ -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}
|
||||
|
@ -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 }}"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user