From 541c0d70c00d86d46ecd4332bf1decfd3903b357 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Fri, 3 Oct 2025 11:31:08 +0200 Subject: [PATCH] feat: use new ansible layout --- playbook.yaml | 8 ++------ roles/requirements.yml | 6 ++++++ 2 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 roles/requirements.yml diff --git a/playbook.yaml b/playbook.yaml index eb88d3e..ffb8037 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -4,9 +4,5 @@ - name: "install and configure Pangolin" hosts: "all" become: true - tasks: - - # execute role - - name: "install and configure Pangolin" - ansible.builtin.include_role: - name: "." + roles: + - role: "pangolin" diff --git a/roles/requirements.yml b/roles/requirements.yml new file mode 100644 index 0000000..2686c42 --- /dev/null +++ b/roles/requirements.yml @@ -0,0 +1,6 @@ +--- + +roles: + - name: "pangolin" + src: "https://gitlab.simoncor.net/ansible/ans-pangolin.git" + scm: "git"