Execution
Date 22 May 2025 12:35:23 +0100
Duration 00:01:59.57
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: Add wp-toolkit section on plesk servers
      when: p.plesk_found
      plesk_actions:
        action: add_section
        section: ext-wp-toolkit
        block:
          showVirtualPatchesUpsellWhenRestrictedViaPlans: true
          purchaseDeluxeGuardianBaseUrl: https://plesk.layershift.com/
          virtualPatchesLicenseAdditionalLimit: 0
          virtualPatchesLicensingForEndCustomers: false
      register: add_res
      changed_when: add_res.section_exists