feat: implement new role layout
This commit is contained in:
parent
c951bc4120
commit
ae31e5581a
3 changed files with 4 additions and 9 deletions
|
|
@ -2,12 +2,9 @@
|
||||||
|
|
||||||
# gitLab ci stages
|
# gitLab ci stages
|
||||||
stages:
|
stages:
|
||||||
|
|
||||||
# deployment
|
|
||||||
- "gitleaks"
|
- "gitleaks"
|
||||||
- "linting"
|
- "linting"
|
||||||
|
|
||||||
|
|
||||||
# include jobs
|
# include jobs
|
||||||
include:
|
include:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|
||||||
roles:
|
# execute the role
|
||||||
- role: "docker"
|
- name: "execute role: traefik"
|
||||||
- role: "traefik"
|
ansible.builtin.include_role:
|
||||||
|
name: "traefik"
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,6 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- name: "docker"
|
|
||||||
src: "https://gitlab.simoncor.net/ansible/ans-docker.git"
|
|
||||||
scm: "git"
|
|
||||||
- name: "traefik"
|
- name: "traefik"
|
||||||
src: "https://gitlab.simoncor.net/ansible/ans-traefik.git"
|
src: "https://gitlab.simoncor.net/ansible/ans-traefik.git"
|
||||||
scm: "git"
|
scm: "git"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue