From e62d3fae8804998b29b6ad9c763e173c6397e6ef Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Sun, 16 May 2021 15:56:03 -0500 Subject: [PATCH 1/2] monit do no harm --- roles/monit/tasks/install.yml | 12 ++++++------ roles/monit/templates/{monitrc => monitrc.unused} | 0 2 files changed, 6 insertions(+), 6 deletions(-) rename roles/monit/templates/{monitrc => monitrc.unused} (100%) diff --git a/roles/monit/tasks/install.yml b/roles/monit/tasks/install.yml index 271f6e074..bc6173468 100644 --- a/roles/monit/tasks/install.yml +++ b/roles/monit/tasks/install.yml @@ -9,14 +9,14 @@ # state: present # when: is_debian and ansible_distribution_major_version == "8" -- name: Install /etc/monitrc from template - template: - backup: yes - src: monitrc - dest: /etc/monitrc +#- name: Install /etc/monitrc from template +# template: +# backup: yes +# src: monitrc +# dest: /etc/monitrc #owner: root #group: root - mode: '0600' +# mode: '0600' # - name: Install config file /etc/monit.d/watchdog from template (NEVER RUNS, WHY?) # template: diff --git a/roles/monit/templates/monitrc b/roles/monit/templates/monitrc.unused similarity index 100% rename from roles/monit/templates/monitrc rename to roles/monit/templates/monitrc.unused From e397f50f537f315935773d21dba275d4e564ef40 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Sun, 16 May 2021 16:23:08 -0500 Subject: [PATCH 2/2] tag unused Use what is in /etc/monit/conf-available as a starting point --- roles/monit/templates/{ejabberd => ejabberd.unused} | 0 roles/monit/templates/{httpd => httpd.unused} | 0 roles/monit/templates/{idmgr => idmgr.unused} | 0 roles/monit/templates/{postgresql => postgresql.unused} | 0 roles/monit/templates/{squid => squid.unused} | 0 roles/monit/templates/{sshd => sshd.unused} | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename roles/monit/templates/{ejabberd => ejabberd.unused} (100%) rename roles/monit/templates/{httpd => httpd.unused} (100%) rename roles/monit/templates/{idmgr => idmgr.unused} (100%) rename roles/monit/templates/{postgresql => postgresql.unused} (100%) rename roles/monit/templates/{squid => squid.unused} (100%) rename roles/monit/templates/{sshd => sshd.unused} (100%) diff --git a/roles/monit/templates/ejabberd b/roles/monit/templates/ejabberd.unused similarity index 100% rename from roles/monit/templates/ejabberd rename to roles/monit/templates/ejabberd.unused diff --git a/roles/monit/templates/httpd b/roles/monit/templates/httpd.unused similarity index 100% rename from roles/monit/templates/httpd rename to roles/monit/templates/httpd.unused diff --git a/roles/monit/templates/idmgr b/roles/monit/templates/idmgr.unused similarity index 100% rename from roles/monit/templates/idmgr rename to roles/monit/templates/idmgr.unused diff --git a/roles/monit/templates/postgresql b/roles/monit/templates/postgresql.unused similarity index 100% rename from roles/monit/templates/postgresql rename to roles/monit/templates/postgresql.unused diff --git a/roles/monit/templates/squid b/roles/monit/templates/squid.unused similarity index 100% rename from roles/monit/templates/squid rename to roles/monit/templates/squid.unused diff --git a/roles/monit/templates/sshd b/roles/monit/templates/sshd.unused similarity index 100% rename from roles/monit/templates/sshd rename to roles/monit/templates/sshd.unused