diff --git a/test-ansible-lint.sh b/test-ansible-lint.sh index ddbbb9a8..8b11742b 100755 --- a/test-ansible-lint.sh +++ b/test-ansible-lint.sh @@ -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} diff --git a/test-vars.yml b/test-vars.yml index 3f9a4548..acc631a8 100644 --- a/test-vars.yml +++ b/test-vars.yml @@ -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 }}" diff --git a/tests/ansible-role-requirements.yml b/tests/ansible-role-requirements.yml index b061b9d2..13e6c9a7 100644 --- a/tests/ansible-role-requirements.yml +++ b/tests/ansible-role-requirements.yml @@ -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