Execution
Date 25 Sep 2024 12:45:13 +0100
Duration 00:02:15.69
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.11
ara 1.7.2 / 1.7.2
Python 3.10.10
Summary
165 Hosts
7 Tasks
1143 Results
1 Plays
11 Files
0 Records

File: /home/ssh-gateway/ansible/kuly/check_if_cron_enabled.yaml

---
- name: Playbook to check if there is a leftover cron as per RM9718
  hosts: all
  gather_facts: false
  roles:
    - plesk
    - imunify360
  tasks:
    - name: Check if imunify360 cron exists
      when: plesk_found and imunify_found
      ansible.builtin.shell: |
        set -o pipefail
        ls -la /etc/cron.d/imunify360-firewall-update
      args:
        executable: /bin/bash
      changed_when: false