infra/home/ansible/update-cephfs-size.yml
2025-09-06 10:55:13 -05:00

22 lines
No EOL
495 B
YAML

---
- name: Check CephFS capacity
hosts: proxmox[0]
become: true
tasks:
- name: Check Ceph cluster capacity
command: ceph df
register: ceph_df
changed_when: false
- name: Display Ceph capacity
debug:
var: ceph_df.stdout_lines
- name: Get CephFS status
command: ceph fs status kubernetes-shared
register: cephfs_status
changed_when: false
- name: Display CephFS status
debug:
var: cephfs_status.stdout_lines