Ansible role that lists all the VMs launched before the upgrade or installing a Ceph client in hypervisors. This role uses the ceph_version variable to specify the exact version of a Ceph client. If the requested Ceph client version is not installed, then the role considers the latest version installed lower than the requested version ceph_version. The output of the role consists of he list of VMs that have been launched before ceph_version is installed or updated, and hence they don't have the patch applied on ceph_version.
See defaults/main.yml for details.
This role mainly accepts one variable ceph_version that specifies the requested Ceph version.
- You can simply use this role like below.
- hosts: servers
become: True
gather_facts: False
vars:
ceph_version: "14.2.20"
roles:
- { role: ansible-role-vms-before-ceph-client }
The current version does not consider the downgrade or remove of Ceph clients in hypervisors.