This commit is contained in:
Mark Janssen 2025-04-19 16:24:47 +02:00
parent 6cff97e2bb
commit d0cd352b4a
Signed by: foobar
GPG key ID: D8674D8FC4F69BD2
5 changed files with 49 additions and 13 deletions

14
.ansible-lint Normal file
View file

@ -0,0 +1,14 @@
#warn_list: # or 'skip_list' to silence them completely
skip_list:
- experimental
- var-naming[no-role-prefix]
- name
warn_list:
- '204' # Lines should be no longer than 160 chars
- no-handler
- ignore-errors
- fqcn-builtins
- fqcn
- partial-become[task]
- template-instead-of-copy
offline: true

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
.password-store
.gitignore
.envrc

View file

@ -15,3 +15,8 @@ rules:
max-spaces-after: -1
commas:
max-spaces-after: -1
comments:
min-spaces-from-content: 1
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true

View file

@ -1,66 +1,79 @@
---
- hosts: all
- name: common
hosts: all
gather_facts: true
roles:
- { role: "common", tags: ["common"] }
- { role: "nft", tags: ["nft"] }
- hosts: bank
- name: bank
hosts: bank
roles:
- { role: "bank", tags: ["bank"] }
- hosts: homeassistant
- name: homeassistant
hosts: homeassistant
roles:
- { role: "acme", tags: ["acme"] }
- { role: "nginx", tags: ["nginx"] }
- hosts: raspi
- name: raspi
hosts: raspi
roles:
- { role: "raspi", tags: ["raspi"] }
- { role: "bank-terminal", tags: ["bank-terminal"] }
- hosts: fotos
- name: fotos
hosts: fotos
roles:
- { role: "photos", tags: ["photos"] }
- hosts: git-ci
- name: CI
hosts: git-ci
roles:
- { role: "git-ci", tags: ["git-ci"] }
- hosts: git
- name: git
hosts: git
roles:
- { role: "acme", tags: ["acme"] }
- { role: "nginx", tags: ["nginx"] }
- { role: "git-server", tags: ["git-server"] }
- hosts: monitoring
- name: monitoring
hosts: monitoring
roles:
- { role: "acme", tags: ["acme"] }
- { role: "nginx", tags: ["nginx"] }
- { role: "monitoring", tags: ["monitoring"] }
- hosts: mqtt
- name: mqtt
hosts: mqtt
roles:
- { role: "mqtt", tags: ["mqtt"] }
- hosts: music
- name: music
hosts: music
roles:
- { role: "acme", tags: ["acme"] }
- { role: "go", tags: ["go"] }
- { role: "music", tags: ["music"] }
- hosts: pad
- name: pad
hosts: pad
roles:
- { role: "acme", tags: ["acme"] }
- { role: "nginx", tags: ["nginx"] }
- { role: "etherpad", tags: ["etherpad"] }
- hosts: services
- name: services
hosts: services
roles:
- { role: "services", tags: ["services"] }
- hosts: wiki
- name: wiki
hosts: wiki
roles:
- { role: "acme", tags: ["acme"] }
- { role: "nginx", tags: ["nginx"] }

View file

@ -1,5 +1,6 @@
#!/bin/bash
j2lint `find ./ -type f -name '*.j2'`
yamllint -c .yamllint.yaml .
ansible-lint bitlair.yaml