From 164c0fe5506bff6b4351e2f6a6bc9bf3b1d4363e Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Sat, 1 Nov 2025 13:10:04 +0100 Subject: [PATCH] feat: implement new role layout --- .gitlab-ci.yml | 5 +---- playbook.yaml | 8 +++++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f8f415b..ccccaf2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,16 +2,13 @@ # gitLab ci stages stages: - - # deployment - "gitleaks" - "linting" - # include jobs include: - # deployment + # code plumbing - local: ".gitlab/gitleaks.yaml" # linting diff --git a/playbook.yaml b/playbook.yaml index 104fbe9..a225a98 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -4,7 +4,7 @@ - name: "install and configure a Keepalive Daemon" hosts: "all" become: true - pre_tasks: + tasks: # due to semaphore bug we need to do this ourselves - name: "force-update requirements" @@ -15,5 +15,7 @@ changed_when: false failed_when: false - roles: - - role: "keepalived" + # execute the role + - name: "execute role: keepalived" + ansible.builtin.include_role: + name: "keepalived"