From 6d13f2d5995f655d4294069ff9d73126744216b7 Mon Sep 17 00:00:00 2001 From: LinuxSquare Date: Sat, 9 Nov 2024 18:25:08 +0100 Subject: [PATCH] Add pterodactyl --- pterodactyl/init.ansible.yml | 2 ++ pterodactyl/panel.ansible.yml | 11 +++++++++++ pterodactyl/wings.ansible.yml | 11 +++++++++++ top.ansible.yml | 5 ++++- 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 pterodactyl/init.ansible.yml create mode 100644 pterodactyl/panel.ansible.yml create mode 100644 pterodactyl/wings.ansible.yml diff --git a/pterodactyl/init.ansible.yml b/pterodactyl/init.ansible.yml new file mode 100644 index 0000000..ccac348 --- /dev/null +++ b/pterodactyl/init.ansible.yml @@ -0,0 +1,2 @@ +- import_playbook: panel.ansible.yml +- import_playbook: wings.ansible.yml diff --git a/pterodactyl/panel.ansible.yml b/pterodactyl/panel.ansible.yml new file mode 100644 index 0000000..661440a --- /dev/null +++ b/pterodactyl/panel.ansible.yml @@ -0,0 +1,11 @@ +- hosts: localhost + tasks: + - name: Install pterodactyl panel + package: + state: present + name: + - pterodactyl-panel-compose + - name: Enable pterodactyl-panel service + service: + name: pterodactyl-panel-compose + enabled: true diff --git a/pterodactyl/wings.ansible.yml b/pterodactyl/wings.ansible.yml new file mode 100644 index 0000000..ebebd23 --- /dev/null +++ b/pterodactyl/wings.ansible.yml @@ -0,0 +1,11 @@ +- hosts: localhost + tasks: + - name: Install pterodactyl wings + package: + state: present + name: + - pterodactyl-wings + - name: Enable pterodactyl-wings service + service: + name: pterodactyl-wings + enabled: true diff --git a/top.ansible.yml b/top.ansible.yml index 1ef9914..f5cf357 100644 --- a/top.ansible.yml +++ b/top.ansible.yml @@ -13,4 +13,7 @@ when: installation_type == 'proxy' - name: Setup Podman import_playbook: podman/init.ansible.yml - when: installation_type == 'gaming' \ No newline at end of file + when: installation_type == 'gaming' +- name: Setup Pterodactyl + import_playbook: pterodactyl/init.ansible.yml + when: installation_type == 'gaming'