Execution
Date 25 Sep 2024 12:19:57 +0100
Duration 00:02:40.46
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
8 Tasks
1306 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 left cron as per RM9718
  hosts: all
  gather_facts: false
  roles:
    - plesk
    - imunify360
  tasks:
    - name: If plesk imunify list if cron
      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