Execution
Date 24 Jul 2025 09:40:21 +0100
Duration 00:00:01.55
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
0 Hosts
1 Tasks
0 Results
1 Plays
1 Files
0 Records

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

---
- name: Plesk restricted settings
  hosts: all
  gather_facts: false
  tasks:
    - name: Get plesk info
      plesk_info:
      register: plsk
    - name: On plesk server apply settings
      when: plsk.plesk_found
      ansible.builtin.shell: |
        set -o pipefail
        plesk bin admin --update -manage_server_bounce_controls false
        plesk bin admin --update -manage_server_settings_hostname false
        plesk bin admin --update -manage_server_settings true
        plesk bin admin --update -manage_server_customize_url false
        plesk bin admin --update -allow_admin_local_backups false
        plesk bin admin --update -manage_server_troubleshooting_enable true
        plesk bin admin --update -manage_server_website_log_check true
        plesk bin admin --update -manage_server_forum false
        plesk bin admin --update -manage_server_help_center false
        plesk bin admin --update -ext_permission_support_access_access false
        plesk bin admin --update -ext_permission_advisor_access true
        plesk bin admin --update -ext_permission_repair_kit_access true
        plesk bin admin --update -ext_permission_log_browser_access true
        plesk bin admin --update -ext_permission_configurations_troubleshooter_access true
      args:
        executable: /bin/bash
      changed_when: false