VestaCP is legacy software. Deploy only for compatibility or migration scenarios.
- name: Install VestaCP on Debian/Ubuntu
hosts: vestacp_debian
become: true
vars:
vestacp_installer_url: "https://vestacp.com/pub/vst-install.sh"
tasks:
- name: Install dependencies
ansible.builtin.apt:
update_cache: true
name:
- curl
- wget
- sudo
state: present
- name: Download VestaCP installer
ansible.builtin.get_url:
url: "{{ vestacp_installer_url }}"
dest: /root/vst-install.sh
mode: "0755"
- name: Run VestaCP installer
ansible.builtin.command: /root/vst-install.sh --force
args:
creates: /usr/local/vesta
failed_when: false
- name: VestaCP precheck for RHEL
hosts: vestacp_rhel
become: true
tasks:
- name: Warn unsupported path
ansible.builtin.debug:
msg: "VestaCP is not recommended on RHEL-based systems."
ansible-playbook -i inventory.ini vestacp-install.yml
vestacp_debian.Beyond this playbook, we offer:
Contact our automation team: office@linux-server-admin.com