Skip to content

Commit

Permalink
Merge pull request #257 from ceph/mergify/bp/reef/pr-224
Browse files Browse the repository at this point in the history
docs: update error message on purge (backport #224)
  • Loading branch information
asm0deuz authored Nov 23, 2023
2 parents 71a050d + 19df649 commit 8717283
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cephadm-purge-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
fail:
msg: |
You must define a group [admin] in your inventory and add a node where
admin keyring is present at /etc/ceph/admin.client.keyring
admin keyring is present at /etc/ceph/ceph.client.admin.keyring
when: "'admin' not in groups or groups['admin'] | length < 1"


Expand All @@ -40,12 +40,12 @@
any_errors_fatal: true
tasks:

- name: check /etc/ceph/ceph.admin.client.keyring
- name: check /etc/ceph/ceph.client.admin.keyring
stat:
path: /etc/ceph/ceph.client.admin.keyring
register: admin_keyring_stat

- name: fail if /etc/ceph/admin.client.keyring is not present
- name: fail if /etc/ceph/ceph.client.admin.keyring is not present
fail:
msg: >
You must have /etc/ceph/ceph.client.admin.keyring present on {{ inventory_hostname }}
Expand Down

0 comments on commit 8717283

Please sign in to comment.