22 lines
541 B
YAML
22 lines
541 B
YAML
# tasks file for stats script
|
|
|
|
- name: Copy check_ssl script
|
|
copy:
|
|
src: "check_ssl.sh"
|
|
dest: "/usr/local/bin/sentinel/check_ssl.sh"
|
|
mode: "0555"
|
|
vars:
|
|
ansible_become: yes
|
|
ansible_become_method: sudo
|
|
ansible_become_password: "{{ sudo_password }}"
|
|
|
|
- name: Crontab blacklist
|
|
ansible.builtin.cron:
|
|
name: "check ssl script"
|
|
minute: "*/30"
|
|
job: "bash /usr/local/bin/sentinel/check_ssl.sh"
|
|
vars:
|
|
ansible_become: yes
|
|
ansible_become_method: sudo
|
|
ansible_become_password: "{{ sudo_password }}"
|