From 53a7de5faa1d6fadeb76e4e0cf4f08c7941cd305 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Fri, 3 Oct 2025 11:30:12 +0200 Subject: [PATCH] feat: use new ansible layout --- playbook.yaml | 8 ++++++++ roles/requirements.yml | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 playbook.yaml create mode 100644 roles/requirements.yml diff --git a/playbook.yaml b/playbook.yaml new file mode 100644 index 0000000..653a8f4 --- /dev/null +++ b/playbook.yaml @@ -0,0 +1,8 @@ +--- + +# execute this role +- name: "install and configure a DHCP server" + hosts: "all" + become: true + roles: + - role: "dhcp" diff --git a/roles/requirements.yml b/roles/requirements.yml new file mode 100644 index 0000000..f075fd5 --- /dev/null +++ b/roles/requirements.yml @@ -0,0 +1,6 @@ +--- + +roles: + - name: "dhcp" + src: "https://gitlab.simoncor.net/ansible/ans-dhcp.git" + scm: "git"