Compare commits

3 Commits

Author SHA1 Message Date
4ec10f0f65 mit yamllint syntax verbessert 2025-12-16 10:47:32 +01:00
1112c9a340 Update .gitlab-ci.yml 2025-12-16 08:01:04 +00:00
af3da06f8d teste die pipeline 2025-12-16 08:35:00 +01:00
10 changed files with 20 additions and 3 deletions

0
.ansible/.lock Normal file
View File

11
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,11 @@
---
stages:
- lint
yamllint:
stage: lint
image: python:3.12-alpine
before_script:
- pip install --no-cache-dir yamllint
script:
- yamllint .

View File

@@ -10,7 +10,7 @@
- name: Create app directory - name: Create app directory
file: file:
path: "{{ app_dir }}" path: "{{ app_dir }}"
state: directory state: directory
- name: Copy compose file - name: Copy compose file
copy: copy:

View File

@@ -1,6 +1,6 @@
--- ---
- hosts: all - hosts: all
become: yes become: true
roles: roles:
- role: docker/snake - role: docker/snake
@@ -10,7 +10,7 @@
name: name:
- ca-certificates - ca-certificates
- curl - curl
update_cache: yes update_cache: true
- name: Install Docker - name: Install Docker
shell: curl -fsSL https://get.docker.com | sh shell: curl -fsSL https://get.docker.com | sh

View File

@@ -1,3 +1,4 @@
---
version: "3.8" version: "3.8"
services: services:
snake: snake:

View File

@@ -1,3 +1,4 @@
---
- name: Login to private registry - name: Login to private registry
docker_login: docker_login:
registry_url: dns.s-martika.com registry_url: dns.s-martika.com

View File

@@ -1,3 +1,4 @@
---
version: '3.8' version: '3.8'
services: services:
prometheus: prometheus:

View File

@@ -1,3 +1,4 @@
---
apiVersion: 1 apiVersion: 1
providers: providers:

View File

@@ -1,3 +1,4 @@
---
apiVersion: 1 apiVersion: 1
datasources: datasources:

View File

@@ -1,3 +1,4 @@
---
global: global:
scrape_interval: 15s scrape_interval: 15s