feat: implement new role layout
This commit is contained in:
parent
8833a27a1d
commit
412db40536
2 changed files with 5 additions and 6 deletions
|
|
@ -2,12 +2,9 @@
|
||||||
|
|
||||||
# gitLab ci stages
|
# gitLab ci stages
|
||||||
stages:
|
stages:
|
||||||
|
|
||||||
# deployment
|
|
||||||
- "gitleaks"
|
- "gitleaks"
|
||||||
- "linting"
|
- "linting"
|
||||||
|
|
||||||
|
|
||||||
# include jobs
|
# include jobs
|
||||||
include:
|
include:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
- name: "use toolbox"
|
- name: "use toolbox"
|
||||||
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: "toolbox"
|
- name: "execute role: toolbox"
|
||||||
|
ansible.builtin.include_role:
|
||||||
|
name: "toolbox"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue