kolla-ansible/test-requirements.txt
Radosław Piliszek 9464bd11c1 Pin Ansible in test-reqs (<2.10)
Ansible stuff is not covered by upper-constraints.
We pinned ansible-lint already but failed to pin Ansible and it
broke the stable CI:

2020-09-24 16:01:20.340298 | ubuntu-bionic | Couldn't parse task at /home/zuul/src/opendev.org/openstack/kolla-ansible/ansible/roles/bifrost/tasks/deploy-servers.yml:2 (conflicting action statements: command, __line__
2020-09-24 16:01:20.340395 | ubuntu-bionic |
2020-09-24 16:01:20.340427 | ubuntu-bionic | The error appears to be in '<unicode string>': line 2, column 3, but may
2020-09-24 16:01:20.340456 | ubuntu-bionic | be elsewhere in the file depending on the exact syntax problem.
2020-09-24 16:01:20.340483 | ubuntu-bionic |
2020-09-24 16:01:20.340512 | ubuntu-bionic | (could not open file to display line))
2020-09-24 16:01:20.340538 | ubuntu-bionic | AnsibleMapping([ ('name', 'Enrolling physical servers with ironic'),
2020-09-24 16:01:20.340564 | ubuntu-bionic |                  ('become', True),
2020-09-24 16:01:20.340590 | ubuntu-bionic |                  ( 'command',
2020-09-24 16:01:20.340615 | ubuntu-bionic |                    "docker exec bifrost_deploy bash -c 'source "
2020-09-24 16:01:20.340641 | ubuntu-bionic |                    '/bifrost/env-vars && export '
2020-09-24 16:01:20.340667 | ubuntu-bionic |                    'BIFROST_INVENTORY_SOURCE=/etc/bifrost/servers.yml && '
2020-09-24 16:01:20.340693 | ubuntu-bionic |                    'ansible-playbook -vvvv -i '
2020-09-24 16:01:20.340719 | ubuntu-bionic |                    '/bifrost/playbooks/inventory/bifrost_inventory.py '
2020-09-24 16:01:20.340744 | ubuntu-bionic |                    '/bifrost/playbooks/enroll-dynamic.yaml -e '
2020-09-24 16:01:20.340769 | ubuntu-bionic |                    "@/etc/bifrost/bifrost.yml'\n"),
2020-09-24 16:01:20.340795 | ubuntu-bionic |                  ('skipped_rules', [])])
2020-09-24 16:01:20.431597 | ubuntu-bionic | ERROR: InvocationError for command /home/zuul/src/opendev.org/openstack/kolla-ansible/.tox/linters/bin/ansible-lint -p --exclude tests --exclude roles (exited with code 1)

Change-Id: I16e7eee8f0ee0547237c572bd3cf2703f7b7e061
2020-09-26 12:15:11 +02:00

17 lines
355 B
Plaintext

# linting
ansible-lint==4.2.0 # MIT
bandit>=1.1.0 # Apache-2.0
bashate>=0.5.1 # Apache-2.0
doc8>=0.6.0 # Apache-2.0
hacking>=3.0.1,<3.1.0 # Apache-2.0
yamllint>=1.22.0 #GPL3
# coverage testing
coverage!=4.4,>=4.0 # Apache-2.0
# unit testing
docker>=2.4.2 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
stestr>=2.0.0 # Apache-2.0
ansible>=2.8.0,<2.10 # GPLv3