Compare commits

...

1 commit

Author SHA1 Message Date
11ade2ec4d Add rootful docker for pterodactyl... -,- 2024-11-16 11:48:31 +01:00
4 changed files with 22 additions and 2 deletions

2
docker/init.ansible.yml Normal file
View file

@ -0,0 +1,2 @@
- import_playbook: pkg.ansible.yml
- import_playbook: service.ansible.yml

9
docker/pkg.ansible.yml Normal file
View file

@ -0,0 +1,9 @@
- hosts: localhost
tasks:
- name: Install docker package
package:
state: present
name:
- docker
- docker-cli-compose
- docker-openrc

View file

@ -0,0 +1,6 @@
- hosts: localhost
tasks:
- name: Enable docker service
service:
name: docker
enabled: true

View file

@ -11,9 +11,12 @@
- name: Setup HAProxy - name: Setup HAProxy
import_playbook: haproxy/init.ansible.yml import_playbook: haproxy/init.ansible.yml
when: installation_type == 'proxy' when: installation_type == 'proxy'
- name: Setup Podman - name: Setup Podman Rootless
import_playbook: podman/init.ansible.yml import_playbook: podman/init.ansible.yml
when: installation_type == 'gaming' or installation_type == 'build' when: installation_type == 'build'
- name: Setup Docker Rootful
import_playbook: docker/init.ansible.yml
when: installation_type == 'gaming'
- name: Setup Pterodactyl - name: Setup Pterodactyl
import_playbook: pterodactyl/init.ansible.yml import_playbook: pterodactyl/init.ansible.yml
when: installation_type == 'gaming' when: installation_type == 'gaming'