File tree 6 files changed +9
-9
lines changed
roles/ceph-validate/tasks
6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ Obsoletes: ceph-iscsi-ansible <= 1.5
15
15
16
16
BuildArch: noarch
17
17
18
- BuildRequires: ansible >= 2.9
19
- Requires: ansible >= 2.9
18
+ BuildRequires: ansible >= 2.10
19
+ Requires: ansible >= 2.10
20
20
21
21
%if 0%{?rhel} == 7
22
22
BuildRequires: python2-devel
Original file line number Diff line number Diff line change 1
1
# These are Python requirements needed to run ceph-ansible master
2
- ansible >= 2.9 , < 2.10 , != 2.9.10
2
+ ansible >= 3 , < 4
3
3
netaddr
4
4
six
Original file line number Diff line number Diff line change 6
6
7
7
- name : fail on unsupported ansible version
8
8
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
11
11
12
12
- name : fail on unsupported system
13
13
fail :
Original file line number Diff line number Diff line change 2
2
testinfra >= 3 ,< 4
3
3
pytest-xdist == 1.28.0
4
4
pytest >= 4.6 ,< 5.0
5
- ansible >= 2.9 , < 2.10 , != 2.9.10
5
+ ansible >= 3 , < 4
6
6
Jinja2 >= 2.10
7
7
netaddr
8
8
mock
9
9
jmespath
10
10
pytest-rerunfailures < 9.0
11
11
pytest-cov
12
+ six
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ setenv=
32
32
UPDATE_CEPH_DEV_BRANCH = master
33
33
UPDATE_CEPH_DEV_SHA1 = latest
34
34
ROLLING_UPDATE = True
35
- deps = -r{toxinidir}/tests/requirements.txt
36
35
changedir ={toxinidir}/tests/functional/subset_update{env:CONTAINER_DIR:}
37
36
commands =
38
37
bash {toxinidir}/tests/scripts/vagrant_up.sh --no-provision {posargs:--provider =virtualbox}
@@ -55,6 +54,7 @@ commands=
55
54
ceph_docker_registry_password={env:DOCKER_HUB_PASSWORD} \
56
55
"'
57
56
57
+ pip install -r {toxinidir}/tests/requirements.txt
58
58
# upgrade mons
59
59
# mon1
60
60
ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/infrastructure-playbooks/rolling_update.yml --limit mon1 --tags =mons --extra-vars " \
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ setenv=
31
31
CEPH_DOCKER_IMAGE_TAG = latest-octopus
32
32
UPDATE_CEPH_DOCKER_IMAGE_TAG = latest-pacific
33
33
ROLLING_UPDATE = True
34
- deps = -r{toxinidir}/tests/requirements.txt
35
34
changedir ={toxinidir}/tests/functional/all_daemons{env:CONTAINER_DIR:}
36
35
commands =
37
36
bash {toxinidir}/tests/scripts/vagrant_up.sh --no-provision {posargs:--provider =virtualbox}
@@ -62,7 +61,7 @@ commands=
62
61
ceph_nfs_rgw_access_key=fake_access_key \
63
62
ceph_nfs_rgw_secret_key=fake_secret_key \
64
63
"'
65
-
64
+ pip install -r {toxinidir}/tests/requirements.txt
66
65
ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/infrastructure-playbooks/rolling_update.yml --extra-vars " \
67
66
ireallymeanit=yes \
68
67
ceph_docker_registry_auth=True \
You can’t perform that action at this time.
0 commit comments