Merge "Support Ansible 2.10"
This commit is contained in:
commit
547db7485a
4
releasenotes/notes/ansible-2.10-ee0211e72f9522c9.yaml
Normal file
4
releasenotes/notes/ansible-2.10-ee0211e72f9522c9.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Ansible 2.10 is now supported and used by default (2.9 is still supported).
|
@ -5,7 +5,7 @@ set -eu
|
||||
# NOTE(pas-ha) the above exports some useful variables like
|
||||
# $PYTHON , $PIP and $VENV depending on venv install or not
|
||||
|
||||
DEFAULT_PIP_ANSIBLE='>=2.9,<2.10'
|
||||
DEFAULT_PIP_ANSIBLE='>=2.9,<2.11'
|
||||
|
||||
ANSIBLE_COLLECTIONS_REQ=${ANSIBLE_COLLECTIONS_REQ:-$(dirname $0)/../ansible-collections-requirements.yml}
|
||||
ANSIBLE_COLLECTION_SOURCE_PATH=
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
set -eu
|
||||
|
||||
DEST="$(dirname $0)/../playbooks/collections"
|
||||
DEST="$(dirname $0)/../.tox/linters/collections"
|
||||
SOURCE="${ANSIBLE_COLLECTION_SOURCE_PATH:-../ansible-collections-openstack}"
|
||||
|
||||
if [ ! -d "$SOURCE" ]; then
|
||||
@ -16,7 +16,7 @@ rm -f "$DEST/ansible_collections/openstack/cloud"
|
||||
|
||||
ln -s "$(realpath $SOURCE)" "$DEST/ansible_collections/openstack/cloud"
|
||||
|
||||
export ANSIBLE_COLLECTIONS_PATHS="$DEST"
|
||||
export ANSIBLE_COLLECTIONS_PATHS="$(realpath $DEST)"
|
||||
export ANSIBLE_LIBRARY="$(dirname $0)/../playbooks/library"
|
||||
|
||||
find playbooks -maxdepth 1 -type f -regex '.*.ya?ml' -print0 | \
|
||||
|
Loading…
Reference in New Issue
Block a user