ServerPilot is a hosted control-plane model.
This playbook prepares hosts and runs the ServerPilot agent installer.
- name: Prepare ServerPilot node on Debian family
hosts: serverpilot_debian
become: true
tasks:
- name: Install dependencies
ansible.builtin.apt:
update_cache: true
name:
- curl
- ca-certificates
- sudo
state: present
- name: Run ServerPilot installer script
ansible.builtin.shell: |
curl -sS https://download.serverpilot.io/serverpilot-installer.py | python3
args:
creates: /srv/users
failed_when: false
- name: Prepare ServerPilot node on RHEL family
hosts: serverpilot_rhel
become: true
tasks:
- name: Install dependencies
ansible.builtin.dnf:
name:
- curl
- ca-certificates
- sudo
- python3
state: present
- name: Run ServerPilot installer script
ansible.builtin.shell: |
curl -sS https://download.serverpilot.io/serverpilot-installer.py | python3
args:
creates: /srv/users
failed_when: false
ansible-playbook -i inventory.ini serverpilot-install.yml
serverpilot_debian.We develop tailored automation solutions for:
Let’s discuss your requirements: office@linux-server-admin.com | Contact