feat: implement new role layout

This commit is contained in:
Simon Cornet 2025-11-01 13:10:04 +01:00
commit 164c0fe550
2 changed files with 6 additions and 7 deletions

View file

@ -2,16 +2,13 @@
# gitLab ci stages # gitLab ci stages
stages: stages:
# deployment
- "gitleaks" - "gitleaks"
- "linting" - "linting"
# include jobs # include jobs
include: include:
# deployment # code plumbing
- local: ".gitlab/gitleaks.yaml" - local: ".gitlab/gitleaks.yaml"
# linting # linting

View file

@ -4,7 +4,7 @@
- name: "install and configure a Keepalive Daemon" - name: "install and configure a Keepalive Daemon"
hosts: "all" hosts: "all"
become: true become: true
pre_tasks: tasks:
# due to semaphore bug we need to do this ourselves # due to semaphore bug we need to do this ourselves
- name: "force-update requirements" - name: "force-update requirements"
@ -15,5 +15,7 @@
changed_when: false changed_when: false
failed_when: false failed_when: false
roles: # execute the role
- role: "keepalived" - name: "execute role: keepalived"
ansible.builtin.include_role:
name: "keepalived"