Skip to content

Commit 530f5e6

Browse files
committed
read in ansible installation version always
1 parent db386a0 commit 530f5e6

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.ci/ansible_install.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
]
1414
]
1515

16+
# separately install ansible based on version passed in from azure-pipelines.yml or .travis.yml
17+
batches.append("pip install -q ansible==%s", ci_lib.ANSIBLE_VERSION)
18+
1619
batches.extend(
1720
['docker pull %s' % (ci_lib.image_for_distro(distro),)]
1821
for distro in ci_lib.DISTROS

.ci/localhost_ansible_install.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@
1313
]
1414
]
1515

16+
# separately install ansible based on version passed in from azure-pipelines.yml or .travis.yml
17+
batches.append("pip install -q ansible==%s", ci_lib.ANSIBLE_VERSION)
18+
1619
ci_lib.run_batches(batches)

tests/ansible/requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
ansible==2.8.8; python_version >= '2.7'
2-
ansible<2.7; python_version < '2.7'
31
paramiko==2.3.2 # Last 2.6-compat version.
42
hdrhistogram==0.6.1
53
PyYAML==3.11; python_version < '2.7'

0 commit comments

Comments
 (0)