소스 검색

Update configure_alerting.yml

Signed-off-by: abhishek-sa1 <abhishek.sa3@dell.com>
abhishek-sa1 3 년 전
부모
커밋
b4b3d341dd
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      roles/login_node/tasks/configure_alerting.yml

+ 6 - 0
roles/login_node/tasks/configure_alerting.yml

@@ -62,6 +62,12 @@
   changed_when: false
   register: ansible_playbook_path
 
+- name: Start cron service
+  systemd:
+    name: cron
+    state: started
+    enabled: yes
+ 
 - name: Schedule cron job for alerting
   cron:
     name: Auth failure alerting