Add handlers for apache, defaults for Minecraft
This commit is contained in:
parent
a206c16f43
commit
e7623b6c77
1
ec2.yml
1
ec2.yml
@ -10,7 +10,6 @@
|
|||||||
mcname: "botaniapack-1"
|
mcname: "botaniapack-1"
|
||||||
mczip: "https://www.assburgers.club/files/botaniapack-1.zip"
|
mczip: "https://www.assburgers.club/files/botaniapack-1.zip"
|
||||||
mcforge: "1.10.2-12.18.3.2511"
|
mcforge: "1.10.2-12.18.3.2511"
|
||||||
mcport: "25565"
|
|
||||||
mcmotd: "First time on Assburgers edition"
|
mcmotd: "First time on Assburgers edition"
|
||||||
roles:
|
roles:
|
||||||
- minecraft
|
- minecraft
|
||||||
|
8
roles/apache-php/handlers/main.yml
Normal file
8
roles/apache-php/handlers/main.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/ansible-playbook
|
||||||
|
# vim:ft=ansible:
|
||||||
|
---
|
||||||
|
- name: restart apache
|
||||||
|
service:
|
||||||
|
name: apache
|
||||||
|
state: restarted
|
||||||
|
become: yes
|
4
roles/minecraft/defaults/main.yml
Normal file
4
roles/minecraft/defaults/main.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# vim:ft=ansible:
|
||||||
|
mcname: "default"
|
||||||
|
mcport: "25565"
|
||||||
|
mcmotd: "An Ansible-deployed Minecraft server"
|
Loading…
Reference in New Issue
Block a user