From 2e24dfa57dc4761982c705716c31d718d16d185b Mon Sep 17 00:00:00 2001 From: LinuxSquare Date: Fri, 15 Nov 2024 21:44:16 +0100 Subject: [PATCH] Revert "Rework pterodactyl-panel" This reverts commit e936133338d54594f91afb4d56b83853c6f053e5. --- pterodactyl/panel.ansible.yml | 27 ++++++++++++++++++++------- pterodactyl/wings.ansible.yml | 8 ++++---- system/cron.ansible.yml | 30 ------------------------------ system/init.ansible.yml | 1 - 4 files changed, 24 insertions(+), 42 deletions(-) delete mode 100644 system/cron.ansible.yml diff --git a/pterodactyl/panel.ansible.yml b/pterodactyl/panel.ansible.yml index 1617b21..a752afb 100644 --- a/pterodactyl/panel.ansible.yml +++ b/pterodactyl/panel.ansible.yml @@ -1,11 +1,24 @@ - hosts: localhost tasks: - - name: Install pterodactyl-panel + - name: Install pterodactyl panel package: - state: present - name: - - pterodactyl-panel - - name: Enable pterodactyl-queue service + state: present + name: + - pterodactyl-panel-compose + - name: Enable pterodactyl-panel service service: - name: pterodactyl-queue - enabled: true \ No newline at end of file + name: pterodactyl-panel-compose + enabled: true + - name: pterodactyl subuid + lineinfile: + state: present + path: /etc/subuid + insertafter: EOF + line: pterodactyl:200000:65536 + - name: pterodactyl subgid + lineinfile: + state: present + path: /etc/subgid + insertafter: EOF + line: pterodactyl:200000:65536 + diff --git a/pterodactyl/wings.ansible.yml b/pterodactyl/wings.ansible.yml index 43ccb84..ebebd23 100644 --- a/pterodactyl/wings.ansible.yml +++ b/pterodactyl/wings.ansible.yml @@ -1,10 +1,10 @@ - hosts: localhost tasks: - - name: Install pterodactyl-wings + - name: Install pterodactyl wings package: - state: present - name: - - pterodactyl-wings + state: present + name: + - pterodactyl-wings - name: Enable pterodactyl-wings service service: name: pterodactyl-wings diff --git a/system/cron.ansible.yml b/system/cron.ansible.yml deleted file mode 100644 index a30d776..0000000 --- a/system/cron.ansible.yml +++ /dev/null @@ -1,30 +0,0 @@ -- hosts: localhost - tasks: - - name: Install cronie - package: - state: present - name: - - cronie - - cronie-openrc - - name: Cronie minutely directory - file: - state: directory - path: /etc/periodic/minutely - owner: root - group: root - - name: Crontab minutely cronjob - cron: - state: present - user: root - name: Minutely cronjob - job: run-parts /etc/periodic/minutely - minute: '*' - hour: '*' - day: '*' - weekday: '*' - month: '*' - - name: Enable cronie service - service: - name: cronie - state: started - enabled: true diff --git a/system/init.ansible.yml b/system/init.ansible.yml index f72b299..5d3842e 100644 --- a/system/init.ansible.yml +++ b/system/init.ansible.yml @@ -5,4 +5,3 @@ - import_playbook: shell.ansible.yml - import_playbook: ansible.ansible.yml - import_playbook: repositories.ansible.yml -- import_playbook: cron.ansible.yml