mirror of https://github.com/ceph/ceph-ansible.git
core: bump to ansible 2.15
2.12 is EOL since May 2023. Let's bump to 2.15. Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>pull/7558/head
parent
13236d7d81
commit
eb8904e795
|
@ -1000,13 +1000,9 @@
|
|||
|
||||
- name: remove package dependencies on redhat
|
||||
command: yum -y autoremove
|
||||
args:
|
||||
warn: no
|
||||
|
||||
- name: remove package dependencies on redhat again
|
||||
command: yum -y autoremove
|
||||
args:
|
||||
warn: no
|
||||
when:
|
||||
ansible_facts['pkg_mgr'] == "yum"
|
||||
|
||||
|
@ -1019,13 +1015,9 @@
|
|||
|
||||
- name: remove package dependencies on redhat
|
||||
command: dnf -y autoremove
|
||||
args:
|
||||
warn: no
|
||||
|
||||
- name: remove package dependencies on redhat again
|
||||
command: dnf -y autoremove
|
||||
args:
|
||||
warn: no
|
||||
when:
|
||||
ansible_facts['pkg_mgr'] == "dnf"
|
||||
when:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
# Copyright 2018, Red Hat, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
# Copyright 2020, Red Hat, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# These are Python requirements needed to run ceph-ansible main
|
||||
ansible-core>=2.12,<2.13
|
||||
ansible-core>=2.15,<2.16
|
||||
netaddr
|
||||
six
|
||||
|
|
|
@ -18,7 +18,5 @@
|
|||
# Remove yum caches so yum doesn't get confused if we are reinstalling a different ceph version
|
||||
- name: purge yum cache
|
||||
command: yum clean all
|
||||
args:
|
||||
warn: no
|
||||
changed_when: false
|
||||
when: ansible_facts['pkg_mgr'] == 'yum'
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
---
|
||||
- name: check firewalld installation on redhat or SUSE/openSUSE
|
||||
command: rpm -q firewalld
|
||||
args:
|
||||
warn: no
|
||||
register: firewalld_pkg_query
|
||||
ignore_errors: true
|
||||
check_mode: no
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
|
||||
- name: create nss entries for keystone certificates
|
||||
shell: "{{ item }}"
|
||||
args:
|
||||
warn: no
|
||||
changed_when: false
|
||||
with_items:
|
||||
- "openssl x509 -in /etc/keystone/ssl/certs/ca.pem -pubkey | certutil -d {{ radosgw_nss_db_path }} -A -n ca -t 'TCu,Cu,Tuw'"
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
- name: fail on unsupported ansible version
|
||||
fail:
|
||||
msg: "Ansible version must be 2.12!"
|
||||
when: ansible_version.minor|int != 12
|
||||
msg: "Ansible version must be 2.15!"
|
||||
when: ansible_version.minor|int != 15
|
||||
|
||||
- name: fail on unsupported system
|
||||
fail:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
pytest-testinfra
|
||||
pytest-xdist
|
||||
pytest
|
||||
ansible-core>=2.12,<2.13
|
||||
ansible-core>=2.15,<2.16
|
||||
Jinja2>=2.10
|
||||
netaddr
|
||||
mock
|
||||
|
|
Loading…
Reference in New Issue