From 2be68a5bc2c1ee2d158f6ce452221f588745d522 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Fri, 3 Oct 2025 11:30:36 +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 62cbabd..adc9c3e 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -4,9 +4,5 @@ - name: "install and configure SideroLabs's Omni" hosts: "all" become: true - tasks: - - # execute role - - name: "install and configure SideroLabs's Omni" - ansible.builtin.include_role: - name: "." + roles: + - role: "omni" diff --git a/roles/requirements.yml b/roles/requirements.yml new file mode 100644 index 0000000..8b4adc8 --- /dev/null +++ b/roles/requirements.yml @@ -0,0 +1,6 @@ +--- + +roles: + - name: "omni" + src: "https://gitlab.simoncor.net/ansible/ans-omni.git" + scm: "git"