This guide installs Ajenti and enables the web service.
- name: Install Ajenti on Debian family
hosts: ajenti_debian
become: true
tasks:
- name: Install Ajenti packages
ansible.builtin.apt:
update_cache: true
name:
- ajenti
- ajenti-plugin-dashboard
- ajenti-plugin-settings
- ajenti-plugin-terminal
state: present
failed_when: false
- name: Enable and start Ajenti
ansible.builtin.systemd:
name: ajenti
enabled: true
state: started
failed_when: false
- name: Install Ajenti on RHEL family
hosts: ajenti_rhel
become: true
tasks:
- name: Install EPEL if required
ansible.builtin.dnf:
name: epel-release
state: present
failed_when: false
- name: Install Ajenti package
ansible.builtin.dnf:
name: ajenti
state: present
failed_when: false
- name: Enable and start Ajenti
ansible.builtin.systemd:
name: ajenti
enabled: true
state: started
failed_when: false
ansible-playbook -i inventory.ini ajenti-install.yml
ajenti_debian.We develop tailored automation solutions for:
Let’s discuss your requirements: office@linux-server-admin.com | Contact