Execution
Date 22 Jul 2025 15:26:27 +0100
Duration 00:00:01.75
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
1 Hosts
2 Tasks
2 Results
1 Plays
1 Files
0 Records

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

---
- name: Repair imunify
  hosts: all
  gather_facts: false
  tasks:
    - name: Get plesk info
      plesk_info:
      register: pl
    - name: Check if imunify
      when: pl.plesk_found and pl.imunify_found
      debug:
        msg: "{{ pl.imunify_status }}"
      changed_when: "'OK' in {{ pl.imunify_status }}"