Compare commits
1 commit
main
...
feature/do
Author | SHA1 | Date | |
---|---|---|---|
11ade2ec4d |
4 changed files with 22 additions and 2 deletions
2
docker/init.ansible.yml
Normal file
2
docker/init.ansible.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
- import_playbook: pkg.ansible.yml
|
||||||
|
- import_playbook: service.ansible.yml
|
9
docker/pkg.ansible.yml
Normal file
9
docker/pkg.ansible.yml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
- hosts: localhost
|
||||||
|
tasks:
|
||||||
|
- name: Install docker package
|
||||||
|
package:
|
||||||
|
state: present
|
||||||
|
name:
|
||||||
|
- docker
|
||||||
|
- docker-cli-compose
|
||||||
|
- docker-openrc
|
6
docker/service.ansible.yml
Normal file
6
docker/service.ansible.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
- hosts: localhost
|
||||||
|
tasks:
|
||||||
|
- name: Enable docker service
|
||||||
|
service:
|
||||||
|
name: docker
|
||||||
|
enabled: true
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue