Pterodactyl installer for Ansible
Ansible playbook for setting up the pterodactyl panel and Wings
- A fresh install ofUbuntu 20.04, CentOS 7.4+, or Debian 9.
- python installed for ansible to work. This playbook will try to install python first.
This playbook is updated to install php 8.1 for Ubuntu 20.04, but is untested.
- Check the
hosts.example
file on the required variables for your ansible hosts file/etc/ansible/hosts
- Install your OS on both Panel and Daemon servers.
- Set up ansible on your controller machine and make sure that your server has the required entry in the
/etc/ansible/hosts
file. - Run the playbook
ansible-playbook pterodactyl.yml -b -K
- Save the passwords that shows in the output logs
- Configure your email settings with
php artisan p:environment:mail
- Copy the config from your panel to
/etc/pterodactyl/config.yml
on your new Wings server - Run
systemctl start wings
on your wings server
- Install your OS
- Set up ansible on your controller machine and make sure that your server has the required entry in the
/etc/ansible/hosts
file. - Run the playbook
ansible-playbook pterodactyl.yml -b -K -l 'pterodaemon'
- Copy the config from your panel to
/etc/pterodactyl/config.yml
on your new Wings server - Run
systemctl start wings
- Install your OS
- Set up ansible on your controller machine and make sure that your server has the required entry in the
/etc/ansible/hosts
file. - Run the playbook
ansible-playbook pterodactyl.yml -b -K -l 'pteropanel'
- save the passwords that shows in the output logs
- Configure your email settings with
php artisan p:environment:mail