Skip to content

Commit

Permalink
Drop part for supporting ansible 2.9 and 2.10 (#9842)
Browse files Browse the repository at this point in the history
requirements-$ANSIBLE_VERSION.yml doesn't exist in Kubespray repo.
That was for supporting ansible 2.10-, and now Kubespray supports
2.11+. So this drops the part to avoid confusion.
  • Loading branch information
oomichi authored Mar 2, 2023
1 parent 835811e commit 7fec254
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions docs/ansible.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ virtualenv --python=$(which python3) $VENVDIR
source $VENVDIR/bin/activate
cd $KUBESPRAYDIR
pip install -U -r requirements-$ANSIBLE_VERSION.txt
test -f requirements-$ANSIBLE_VERSION.yml && \
ansible-galaxy role install -r requirements-$ANSIBLE_VERSION.yml && \
ansible-galaxy collection -r requirements-$ANSIBLE_VERSION.yml
```

### Ansible Python Compatibility
Expand Down
7 changes: 0 additions & 7 deletions tests/scripts/testcases_prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,3 @@ mkdir -p /.ssh
mkdir -p cluster-dump
mkdir -p $HOME/.ssh
ansible-playbook --version

# in some cases we may need to bring in collections or roles from ansible-galaxy
# to compensate for missing functionality in older ansible versions
if [ -f requirements-${ANSIBLE_MAJOR_VERSION}.yml ] ; then
ansible-galaxy role install -r requirements-${ANSIBLE_MAJOR_VERSION}.yml
ansible-galaxy collection install -r requirements-${ANSIBLE_MAJOR_VERSION}.yml
fi

0 comments on commit 7fec254

Please sign in to comment.