parent
e936133338
commit
2e24dfa57d
4 changed files with 24 additions and 42 deletions
|
@ -1,11 +1,24 @@
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install pterodactyl-panel
|
- name: Install pterodactyl panel
|
||||||
package:
|
package:
|
||||||
state: present
|
state: present
|
||||||
name:
|
name:
|
||||||
- pterodactyl-panel
|
- pterodactyl-panel-compose
|
||||||
- name: Enable pterodactyl-queue service
|
- name: Enable pterodactyl-panel service
|
||||||
service:
|
service:
|
||||||
name: pterodactyl-queue
|
name: pterodactyl-panel-compose
|
||||||
enabled: true
|
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
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install pterodactyl-wings
|
- name: Install pterodactyl wings
|
||||||
package:
|
package:
|
||||||
state: present
|
state: present
|
||||||
name:
|
name:
|
||||||
|
|
|
@ -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
|
|
|
@ -5,4 +5,3 @@
|
||||||
- import_playbook: shell.ansible.yml
|
- import_playbook: shell.ansible.yml
|
||||||
- import_playbook: ansible.ansible.yml
|
- import_playbook: ansible.ansible.yml
|
||||||
- import_playbook: repositories.ansible.yml
|
- import_playbook: repositories.ansible.yml
|
||||||
- import_playbook: cron.ansible.yml
|
|
||||||
|
|
Loading…
Reference in a new issue