From aafadb0fc6e0f50bed4913a1b44ea774ddd3b0a7 Mon Sep 17 00:00:00 2001 From: Hubert Cornet Date: Fri, 22 Aug 2025 19:14:42 +0200 Subject: [PATCH] =?UTF-8?q?T=C3=A9l=C3=A9verser=20les=20fichiers=20vers=20?= =?UTF-8?q?"playbooks"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playbooks/00-main.yml | 7 +++++++ playbooks/01-install-server.yml | 6 ++++++ playbooks/02-update-server.yml | 5 +++++ 3 files changed, 18 insertions(+) create mode 100644 playbooks/00-main.yml create mode 100644 playbooks/01-install-server.yml create mode 100644 playbooks/02-update-server.yml diff --git a/playbooks/00-main.yml b/playbooks/00-main.yml new file mode 100644 index 0000000..19cfef1 --- /dev/null +++ b/playbooks/00-main.yml @@ -0,0 +1,7 @@ +--- +- + hosts: all + gather_facts: no + become: yes + roles: + - 00-main diff --git a/playbooks/01-install-server.yml b/playbooks/01-install-server.yml new file mode 100644 index 0000000..6852c99 --- /dev/null +++ b/playbooks/01-install-server.yml @@ -0,0 +1,6 @@ +--- +- hosts: minecraft + become: yes + roles: + - 01-base-server + - 02-spigot-server diff --git a/playbooks/02-update-server.yml b/playbooks/02-update-server.yml new file mode 100644 index 0000000..ae59528 --- /dev/null +++ b/playbooks/02-update-server.yml @@ -0,0 +1,5 @@ +--- +- hosts: minecraft + sudo: yes + roles: + - 02-update