Skip to content

Commit e0666ed

Browse files
committed
fix formatting
1 parent 530f5e6 commit e0666ed

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.ci/ansible_install.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@
66
[
77
# Must be installed separately, as PyNACL indirect requirement causes
88
# newer version to be installed if done in a single pip run.
9+
# Separately install ansible based on version passed in from azure-pipelines.yml or .travis.yml
910
'pip install "pycparser<2.19" "idna<2.7"',
1011
'pip install '
1112
'-r tests/requirements.txt '
1213
'-r tests/ansible/requirements.txt',
14+
'pip install -q ansible=={}'.format(ci_lib.ANSIBLE_VERSION)
1315
]
1416
]
1517

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-
1918
batches.extend(
2019
['docker pull %s' % (ci_lib.image_for_distro(distro),)]
2120
for distro in ci_lib.DISTROS

.ci/localhost_ansible_install.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@
66
[
77
# Must be installed separately, as PyNACL indirect requirement causes
88
# newer version to be installed if done in a single pip run.
9+
# Separately install ansible based on version passed in from azure-pipelines.yml or .travis.yml
910
'pip install "pycparser<2.19" "idna<2.7"',
1011
'pip install '
1112
'-r tests/requirements.txt '
1213
'-r tests/ansible/requirements.txt',
14+
'pip install -q ansible=={}'.format(ci_lib.ANSIBLE_VERSION)
1315
]
1416
]
1517

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-
1918
ci_lib.run_batches(batches)

0 commit comments

Comments
 (0)