diff --git a/monitor_client.yml b/monitor_client.yml index 3521fb28eec62b143cf3d09b468077acbac8f2a1..fe3f3ff4cb95380788ce94b0906b0d77708b7a1b 100644 --- a/monitor_client.yml +++ b/monitor_client.yml @@ -20,11 +20,14 @@ - name: Remove old collection scripts 1 file: path='/usr/local/bin/ucc_node_current_users_gauge' state=absent - name: Remove old collection scripts 2 - file: path='/usr/local/bin/ucc_node_current_users.sh' state=absent - - name: Remove old collection scripts 3 file: path='/usr/local/bin/ucc_node_getent_passwd_count' state=absent - - name: Remove old collection scripts 4 + - name: Remove old collection scripts 3 file: path='/usr/local/bin/ucc_node_getent_passwd_users.sh' state=absent + - name: Remove old cronjob 1 + file: path='/etc/cron.d/node_current_users' state=absent + - name: Remove old cronjob 2 + file: path='/etc/cron.d/node_getent_passwd_users' state=absent + - name: Add cron jobs for simple logging cron: name: "{{ item.description }}"