Skip to content

Commit 9842b10

Browse files
committed
core: bump ansible version
We should consider bumping ansible version for future releases, so let's start testing against ansible 2.10 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 839fac8)
1 parent 71cf666 commit 9842b10

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

ceph-ansible.spec.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Obsoletes: ceph-iscsi-ansible <= 1.5
1515

1616
BuildArch: noarch
1717

18-
BuildRequires: ansible >= 2.9
19-
Requires: ansible >= 2.9
18+
BuildRequires: ansible >= 2.10
19+
Requires: ansible >= 2.10
2020

2121
%if 0%{?rhel} == 7
2222
BuildRequires: python2-devel

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# These are Python requirements needed to run ceph-ansible master
2-
ansible>=2.9,<2.10,!=2.9.10
2+
ansible>=3,<4
33
netaddr
44
six

roles/ceph-validate/tasks/check_system.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
- name: fail on unsupported ansible version
88
fail:
9-
msg: "Ansible version must be 2.9!"
10-
when: ansible_version.minor|int != 9
9+
msg: "Ansible version must be 2.10!"
10+
when: ansible_version.minor|int != 10
1111

1212
- name: fail on unsupported system
1313
fail:

tests/requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
testinfra>=3,<4
33
pytest-xdist==1.28.0
44
pytest>=4.6,<5.0
5-
ansible>=2.9,<2.10,!=2.9.10
5+
ansible>=3,<4
66
Jinja2>=2.10
77
netaddr
88
mock
99
jmespath
1010
pytest-rerunfailures<9.0
1111
pytest-cov
12+
six

tox-subset_update.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ setenv=
3232
UPDATE_CEPH_DEV_BRANCH = master
3333
UPDATE_CEPH_DEV_SHA1 = latest
3434
ROLLING_UPDATE = True
35-
deps= -r{toxinidir}/tests/requirements.txt
3635
changedir={toxinidir}/tests/functional/subset_update{env:CONTAINER_DIR:}
3736
commands=
3837
bash {toxinidir}/tests/scripts/vagrant_up.sh --no-provision {posargs:--provider=virtualbox}
@@ -55,6 +54,7 @@ commands=
5554
ceph_docker_registry_password={env:DOCKER_HUB_PASSWORD} \
5655
"'
5756

57+
pip install -r {toxinidir}/tests/requirements.txt
5858
# upgrade mons
5959
# mon1
6060
ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/infrastructure-playbooks/rolling_update.yml --limit mon1 --tags=mons --extra-vars "\

tox-update.ini

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ setenv=
3131
CEPH_DOCKER_IMAGE_TAG = latest-octopus
3232
UPDATE_CEPH_DOCKER_IMAGE_TAG = latest-pacific
3333
ROLLING_UPDATE = True
34-
deps= -r{toxinidir}/tests/requirements.txt
3534
changedir={toxinidir}/tests/functional/all_daemons{env:CONTAINER_DIR:}
3635
commands=
3736
bash {toxinidir}/tests/scripts/vagrant_up.sh --no-provision {posargs:--provider=virtualbox}
@@ -62,7 +61,7 @@ commands=
6261
ceph_nfs_rgw_access_key=fake_access_key \
6362
ceph_nfs_rgw_secret_key=fake_secret_key \
6463
"'
65-
64+
pip install -r {toxinidir}/tests/requirements.txt
6665
ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/infrastructure-playbooks/rolling_update.yml --extra-vars "\
6766
ireallymeanit=yes \
6867
ceph_docker_registry_auth=True \

0 commit comments

Comments
 (0)