29 lines
659 B
YAML
29 lines
659 B
YAML
---
|
|
|
|
- name: Install docker
|
|
include_role:
|
|
name: docker
|
|
|
|
- name: Create configuration directory
|
|
file:
|
|
path: /etc/pterodactyl
|
|
owner: root
|
|
group: root
|
|
state: directory
|
|
mode: '0755'
|
|
|
|
- name: Install wings
|
|
get_url:
|
|
url: "https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64"
|
|
dest: /usr/local/bin/wings
|
|
owner: root
|
|
group: root
|
|
mode: '0744'
|
|
|
|
- name: Install wings service file
|
|
template:
|
|
src: wings.j2
|
|
dest: /etc/systemd/system/wings.service
|
|
|
|
- debug:
|
|
msg: "Please create a node in the panel's ui and add the config to /etc/pterodactyl, then enable and start wings.service"
|