ZPanel is legacy/unmaintained. Use only for migration or compatibility labs.
- name: Install ZPanel on Debian/Ubuntu
hosts: zpanel_debian
become: true
vars:
zpanel_installer_url: "https://raw.githubusercontent.com/zpanel/installers/master/install/ubuntu-12_04/install.sh"
tasks:
- name: Install dependencies
ansible.builtin.apt:
update_cache: true
name:
- curl
- wget
- sudo
state: present
- name: Download ZPanel installer
ansible.builtin.get_url:
url: "{{ zpanel_installer_url }}"
dest: /root/zpanel-install.sh
mode: "0755"
failed_when: false
- name: Run ZPanel installer
ansible.builtin.command: /root/zpanel-install.sh
args:
creates: /etc/zpanel
failed_when: false
- name: ZPanel precheck for RHEL hosts
hosts: zpanel_rhel
become: true
tasks:
- name: Warn unsupported path
ansible.builtin.debug:
msg: "ZPanel is legacy and not recommended for RHEL-based systems."
ansible-playbook -i inventory.ini zpanel-install.yml
zpanel_debian.We develop tailored automation solutions for:
Let’s discuss your requirements: office@linux-server-admin.com | Contact