feat: implement new role layout
This commit is contained in:
parent
e0d0d51230
commit
164c0fe550
2 changed files with 6 additions and 7 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue