From 893944102743dad302249a45e3b2682d325ee2e5 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 27 Apr 2022 17:00:56 +0200 Subject: [PATCH] Warn about ceph-ansible deprecation The official installer is now cephadm. stable-6.0 is the last release of ceph-ansible such as we know it. It will become a playbook intended for deploying minimal Ceph cluster (mostly for development/testing purposes) Signed-off-by: Guillaume Abrioux --- README.rst | 7 +++++-- site-container.yml.sample | 13 +++++++++++++ site.yml.sample | 14 ++++++++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index af2dbdd3d3..60e6b23935 100644 --- a/README.rst +++ b/README.rst @@ -1,8 +1,11 @@ -ceph-ansible +ceph-ansible -- DEPRECATED -- ============ + +**NOTE: cephadm is the new official installer, you should consider migrating to cephadm.** + Ansible playbooks for Ceph, the distributed filesystem. Please refer to our hosted documentation here: https://docs.ceph.com/projects/ceph-ansible/en/latest/ You can view documentation for our ``stable-*`` branches by substituting ``master`` in the link -above for the name of the branch. For example: https://docs.ceph.com/projects/ceph-ansible/en/stable-5.0/ +above for the name of the branch. For example: https://docs.ceph.com/projects/ceph-ansible/en/stable-6.0/ diff --git a/site-container.yml.sample b/site-container.yml.sample index c6b27a1862..a75235647c 100644 --- a/site-container.yml.sample +++ b/site-container.yml.sample @@ -1,5 +1,18 @@ --- # Defines deployment design and assigns role to server groups +- hosts: localhost + connection: local + tasks: + - name: Warn about ceph-ansible deprecation + debug: + msg: "cephadm is the new official installer. Please, consider migrating. + See https://docs.ceph.com/en/latest/cephadm/install for new deployments + or https://docs.ceph.com/en/latest/cephadm/adoption for migrating existing deployments." + retries: 9 + delay: 2 + until: false + ignore_errors: true + when: not skip_deprecation_warn | default(false) | bool - hosts: - mons diff --git a/site.yml.sample b/site.yml.sample index 1a73356ea0..942f9ee7e7 100644 --- a/site.yml.sample +++ b/site.yml.sample @@ -1,6 +1,20 @@ --- # Defines deployment design and assigns role to server groups +- hosts: localhost + connection: local + tasks: + - name: Warn about ceph-ansible deprecation + debug: + msg: "cephadm is the new official installer. Please, consider migrating. + See https://docs.ceph.com/en/latest/cephadm/install for new deployments + or https://docs.ceph.com/en/latest/cephadm/adoption for migrating existing deployments." + retries: 9 + delay: 2 + until: false + ignore_errors: true + when: not skip_deprecation_warn | default(false) | bool + - hosts: - mons - osds