# tasks file for stats script - name: Remove crontab blacklist ansible.builtin.cron: name: "check ssl script" cron_file: "check_ssl_cron" state: absent vars: ansible_become: yes ansible_become_method: sudo ansible_become_password: "{{ sudo_password }}" - name: Remove check_ssl script file: path: "/usr/local/bin/sentinel/check_ssl.sh" state: absent vars: ansible_become: yes ansible_become_method: sudo ansible_become_password: "{{ sudo_password }}"