CyberPanel installation is primarily supported on RHEL-compatible systems.
- name: CyberPanel precheck for Debian hosts
hosts: cyberpanel_debian
become: true
tasks:
- name: Warn about unsupported Debian path
ansible.builtin.debug:
msg: "CyberPanel is not officially supported on Debian. Use AlmaLinux/RockyLinux for production."
- name: Install CyberPanel on RHEL-compatible hosts
hosts: cyberpanel_rhel
become: true
tasks:
- name: Install dependencies
ansible.builtin.dnf:
name:
- curl
- wget
- sudo
state: present
- name: Download CyberPanel installer
ansible.builtin.get_url:
url: https://cyberpanel.net/install.sh
dest: /root/cyberpanel-install.sh
mode: "0755"
- name: Run CyberPanel installer in unattended mode
ansible.builtin.command: /root/cyberpanel-install.sh --agree-yes
args:
creates: /usr/local/CyberCP
failed_when: false
ansible-playbook -i inventory.ini cyberpanel-install.yml
Beyond this playbook, we offer:
Contact our automation team: office@linux-server-admin.com