feat: implement new role layout
This commit is contained in:
parent
689b3e466b
commit
62c7edb449
3 changed files with 5 additions and 13 deletions
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
# gitLab ci stages
|
# gitLab ci stages
|
||||||
stages:
|
stages:
|
||||||
|
|
||||||
# deployment
|
|
||||||
- "gitleaks"
|
- "gitleaks"
|
||||||
- "linting"
|
- "linting"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue