new version
Some checks failed
Some checks failed
This commit is contained in:
48
site.yml
48
site.yml
@@ -1,40 +1,16 @@
|
||||
---
|
||||
- name: Installation complète du serveur Minecraft
|
||||
- name: Installation complète serveur Minecraft Spigot
|
||||
hosts: minecraft_servers
|
||||
become: true
|
||||
gather_facts: true
|
||||
|
||||
pre_tasks:
|
||||
- name: Vérification de la connectivité
|
||||
ansible.builtin.ping:
|
||||
|
||||
- name: Collecte des facts si nécessaire
|
||||
ansible.builtin.setup:
|
||||
when: ansible_facts == {}
|
||||
remote_user: ansible
|
||||
become: yes
|
||||
gather_facts: yes
|
||||
|
||||
roles:
|
||||
- role: 01-server_hardening
|
||||
tags:
|
||||
- hardening
|
||||
- security
|
||||
|
||||
- role: 02-installation-java
|
||||
tags:
|
||||
- java
|
||||
- prerequisites
|
||||
|
||||
- role: 03-installation-Minecraft
|
||||
tags:
|
||||
- minecraft
|
||||
- installation
|
||||
|
||||
- role: 04-backups
|
||||
tags:
|
||||
- backup
|
||||
- maintenance
|
||||
|
||||
- role: 05-Update
|
||||
tags:
|
||||
- update
|
||||
- maintenance
|
||||
when: update_check | default(false)
|
||||
- 01-server_hardening
|
||||
- 02-installation-java
|
||||
- 03-Installation-minecraft
|
||||
- 04-backups
|
||||
- 05-Update
|
||||
|
||||
vars_files:
|
||||
- "inventories/{{ inventory_dir | basename }}/group_vars/all.yml"
|
Reference in New Issue
Block a user