Execution
Date 22 May 2025 11:25:23 +0100
Duration 00:02:29.10
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
390 Hosts
2 Tasks
778 Results
1 Plays
1 Files
0 Records

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

---
- name: Playbook to update panel.ini with wp-toolkit block
  hosts: all
  gather_facts: false
  tasks:
    - name: Get plesk server info
      plesk_info:
      register: p
    - name: Execute command on plesk server
      when: p.plesk_found
      ansible.builtin.shell: |
        set -o pipefail
        grep ext-wp-toolkit /usr/local/psa/admin/conf/panel.ini
      args:
        executable: /bin/bash
      register: asd
      changed_when: false