feat: implement new role layout

This commit is contained in:
Simon Cornet 2025-11-01 13:14:31 +01:00
commit 62c7edb449
3 changed files with 5 additions and 13 deletions

View file

@ -2,8 +2,6 @@
# gitLab ci stages # gitLab ci stages
stages: stages:
# deployment
- "gitleaks" - "gitleaks"
- "linting" - "linting"

View file

@ -4,7 +4,7 @@
- name: "install pulse" - name: "install pulse"
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,7 +15,7 @@
changed_when: false changed_when: false
failed_when: false failed_when: false
roles: # execute the role
- role: "docker" - name: "execute role: pulse"
- role: "pulse" ansible.builtin.include_role:
- role: "traefik" name: "pulse"

View file

@ -1,12 +1,6 @@
--- ---
roles: roles:
- name: "docker"
src: "https://gitlab.simoncor.net/ansible/ans-docker.git"
scm: "git"
- name: "pulse" - name: "pulse"
src: "https://gitlab.simoncor.net/ansible/ans-pulse.git" src: "https://gitlab.simoncor.net/ansible/ans-pulse.git"
scm: "git" scm: "git"
- name: "traefik"
src: "https://gitlab.simoncor.net/ansible/ans-traefik.git"
scm: "git"