Execution
Date 27 Oct 2025 09:43:38 +0000
Duration 00:04:47.87
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-check-alt-php-fpm-errors.yaml

---
- name: Check with the script for errors
  hosts: all
  gather_facts: false
  tasks:
    - name: Get server info
      plesk_info:
      register: plsk
    - name: On plesk server execute block
      when: plsk.plesk_found
      block:
        - name: Upload script
          ansible.builtin.copy:
            src: find_fpm_errors.sh
            dest: /root/find_fpm_errors.sh
            mode: '0755'
          changed_when: false
        - name: Execute the script
          ansible.builtin.shell: |
            set -o pipefail
            /root/find_fpm_errors.sh
          args:
            executable: /bin/bash
          changed_when: false