From 5b9d8f9737029e71f65021311eedeac2958398d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Fri, 16 Nov 2018 10:31:57 +0100 Subject: [PATCH] mon: remove old ubuntu login status MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit We don't support Ubuntu Precise, so this feature does not exists anymore. Signed-off-by: Sébastien Han --- roles/ceph-mon/files/precise/92-ceph | 5 ----- roles/ceph-mon/tasks/ceph_keys.yml | 10 ---------- 2 files changed, 15 deletions(-) delete mode 100644 roles/ceph-mon/files/precise/92-ceph diff --git a/roles/ceph-mon/files/precise/92-ceph b/roles/ceph-mon/files/precise/92-ceph deleted file mode 100644 index a424bc188..000000000 --- a/roles/ceph-mon/files/precise/92-ceph +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -echo -n "Ceph state is: " -/usr/bin/ceph health -echo "" diff --git a/roles/ceph-mon/tasks/ceph_keys.yml b/roles/ceph-mon/tasks/ceph_keys.yml index 30661b432..c5fba8ea5 100644 --- a/roles/ceph-mon/tasks/ceph_keys.yml +++ b/roles/ceph-mon/tasks/ceph_keys.yml @@ -100,13 +100,3 @@ when: - cephx - inventory_hostname == groups[mon_group_name] | last - -- name: drop in a motd script to report status when logging in - copy: - src: precise/92-ceph - dest: /etc/update-motd.d/92-ceph - owner: root - group: root - mode: 0755 - when: - - ansible_distribution_release == 'precise' -- 2.39.5