HestiaCP is primarily intended for Debian/Ubuntu environments.
- name: Install HestiaCP on Debian family
hosts: hestiacp_debian
become: true
vars:
hestia_installer_url: https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh
tasks:
- name: Install dependencies
ansible.builtin.apt:
update_cache: true
name:
- curl
- wget
- sudo
state: present
- name: Download HestiaCP installer
ansible.builtin.get_url:
url: "{{ hestia_installer_url }}"
dest: /root/hst-install.sh
mode: "0755"
- name: Run HestiaCP installer
ansible.builtin.command: /root/hst-install.sh --force
args:
creates: /usr/local/hestia
failed_when: false
- name: HestiaCP precheck for RHEL hosts
hosts: hestiacp_rhel
become: true
tasks:
- name: Warn about unsupported RHEL path
ansible.builtin.debug:
msg: "HestiaCP is Debian/Ubuntu-focused. Use Webmin, Cockpit, or ISPConfig for RHEL-based hosts."
ansible-playbook -i inventory.ini hestiacp-install.yml
hestiacp_debian.We develop tailored automation solutions for:
Let’s discuss your requirements: office@linux-server-admin.com | Contact