Install latest openstacksdk on bridge

It's designed to always be used from the latest version.

This trips an ansible lint rule (ANSIBLE0010) which we can ignore, as
we often have pip things that we want to install the latest release
of automatically.

Change-Id: Ieac93ab3a555f2423d4fbcf101d6d9681ae0e497
This commit is contained in:
Monty Taylor 2018-11-06 11:18:42 -06:00 committed by Ian Wienand
parent 20d966a9db
commit 214662a424
2 changed files with 6 additions and 2 deletions
playbooks/roles/install-ansible/tasks
tox.ini

@ -4,6 +4,7 @@
- name: Install openstacksdk - name: Install openstacksdk
pip: pip:
state: latest
name: openstacksdk name: openstacksdk
- name: Ensure /etc/ansible and /etc/ansible/hosts - name: Ensure /etc/ansible and /etc/ansible/hosts

@ -19,9 +19,12 @@ commands =
python3 {toxinidir}/tools/check_clouds_yaml.py python3 {toxinidir}/tools/check_clouds_yaml.py
python3 -m unittest playbooks/roles/install-ansible/files/inventory_plugins/test_yamlgroup.py python3 -m unittest playbooks/roles/install-ansible/files/inventory_plugins/test_yamlgroup.py
# Ansible Lint Check # Ansible Lint Check
#
# ANSIBLE0010: Package installs should not use latest
# We often deploy latest pip packages
bash -c "find roles playbooks -type f -regex '.*.y[a]?ml' -print0 | xargs -t -n1 -0 \ bash -c "find roles playbooks -type f -regex '.*.y[a]?ml' -print0 | xargs -t -n1 -0 \
ansible-lint -x ANSIBLE0004 -x ANSIBLE0006 -x ANSIBLE0007 -x ANSIBLE0011 \ ansible-lint -x ANSIBLE0004 -x ANSIBLE0006 -x ANSIBLE0007 -x ANSIBLE0010 \
-x ANSIBLE0012 -x ANSIBLE0013 -x ANSIBLE0015" -x ANSIBLE0011 -x ANSIBLE0012 -x ANSIBLE0013 -x ANSIBLE0015"
[testenv:venv] [testenv:venv]
commands = {posargs} commands = {posargs}