Execution
Date 20 Oct 2025 10:46:36 +0100
Duration 00:03:06.95
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.11
ara 1.7.3 / 1.7.3
Python 3.10.10
Summary
395 Hosts
3 Tasks
1177 Results
1 Plays
1 Files
0 Records

File: /home/ssh-gateway/ansible/kuly/zz-find-alt-php-services-disabled.yaml

---
- name: Playbook to find
  hosts: all
  gather_facts: false
  tasks:
    - name: Get server info
      plesk_info:
      register: plsk

    - name: Upload and run alt-php services script
      when: plsk.imunify_found
      block:
        - name: Upload the file
          ansible.builtin.copy:
            src: list_alt_php_services.sh
            dest: /root/list_alt_php_services.sh
            mode: '0755'
          changed_when: false

        - name: Run the script
          ansible.builtin.shell: |
            set -o pipefail
            /root/list_alt_php_services.sh
          args:
            executable: /bin/bash