fix: add final newline character to text files

This makes text files compliant to POSIX which requires every line of a
text file to end with a newline character [1][2].

[1] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_403
[2] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
This commit is contained in:
Christoph Schug 2024-02-22 19:01:59 +01:00
parent ca1b5cf74e
commit 8a17193dd0
89 changed files with 89 additions and 81 deletions

View File

@ -16,4 +16,4 @@
systemd: systemd:
state: restarted state: restarted
daemon_reload: yes daemon_reload: yes
name: fail2ban name: fail2ban

View File

@ -14,4 +14,4 @@
state: present state: present
regexp: '^%sudo' regexp: '^%sudo'
line: '%sudo ALL=(ALL) NOPASSWD: ALL' line: '%sudo ALL=(ALL) NOPASSWD: ALL'
validate: /usr/sbin/visudo -cf %s validate: /usr/sbin/visudo -cf %s

View File

@ -16,4 +16,4 @@
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- portainer-data:/data - portainer-data:/data
restart_policy: unless-stopped restart_policy: unless-stopped

View File

@ -14,4 +14,4 @@
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /etc/traefik:/etc/traefik - /etc/traefik:/etc/traefik
restart_policy: unless-stopped restart_policy: unless-stopped

View File

@ -31,4 +31,4 @@
- docker-buildx-plugin - docker-buildx-plugin
- docker-scan-plugin - docker-scan-plugin
- docker-compose-plugin - docker-compose-plugin
update_cache: yes update_cache: yes

View File

@ -1,2 +1,2 @@
[defaults] [defaults]
timeout = 25 timeout = 25

View File

@ -1 +1 @@
{{ join_output.stdout }} {{ join_output.stdout }}

View File

@ -8,4 +8,4 @@
name: zsh name: zsh
state: present state: present
update_cache: true update_cache: true
become: true become: true

View File

@ -10,4 +10,4 @@
dangling: false dangling: false
networks: false networks: false
volumes: false volumes: false
builder_cache: false builder_cache: false

View File

@ -10,4 +10,4 @@
register: reboot_required register: reboot_required
- debug: - debug:
msg: "Reboot is required" msg: "Reboot is required"
when: reboot_required.stat.exists when: reboot_required.stat.exists

View File

@ -5,4 +5,4 @@
tasks: tasks:
- name: reboot machine - name: reboot machine
reboot: reboot:
reboot_timeout: 3600 reboot_timeout: 3600

View File

@ -11,4 +11,4 @@
headers: headers:
Content-Type: application/json Content-Type: application/json
status_code: 204 status_code: 204
# when: your-condition # when: your-condition

View File

@ -0,0 +1 @@

View File

@ -23,4 +23,4 @@
yum: yum:
name: '*' name: '*'
state: latest state: latest
exclude: kernel* exclude: kernel*

View File

@ -40,4 +40,4 @@ services:
- ./config/:/etc/semaphore:rw - ./config/:/etc/semaphore:rw
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
- mysql - mysql

View File

@ -9,4 +9,4 @@ services:
- /etc/bind/:/etc/bind/ - /etc/bind/:/etc/bind/
- /var/cache/bind:/var/cache/bind - /var/cache/bind:/var/cache/bind
- /var/lib/bind:/var/lib/bind - /var/lib/bind:/var/lib/bind
restart: unless-stopped restart: unless-stopped

View File

@ -13,4 +13,4 @@ services:
- /:/source - /:/source
ports: ports:
- 8200:8200 - 8200:8200
restart: unless-stopped restart: unless-stopped

View File

@ -0,0 +1 @@

View File

@ -10,4 +10,4 @@ services:
- "3000:3000" - "3000:3000"
volumes: volumes:
- grafana-data:/var/lib/grafana - grafana-data:/var/lib/grafana
restart: unless-stopped restart: unless-stopped

View File

@ -11,4 +11,4 @@ services:
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443
restart: unless-stopped restart: unless-stopped

View File

@ -9,4 +9,4 @@ services:
# devices: # devices:
# - /dev/ttyACMO # (optional) Add serial devices to the container # - /dev/ttyACMO # (optional) Add serial devices to the container
privileged: true privileged: true
restart: unless-stopped restart: unless-stopped

View File

@ -79,4 +79,4 @@ services:
logo: "assets/tools/sample2.png" logo: "assets/tools/sample2.png"
subtitle: "Another application" subtitle: "Another application"
tag: "app" tag: "app"
url: "#" url: "#"

View File

@ -5,4 +5,4 @@
body #app .card.green { body #app .card.green {
background-color: #006600; background-color: #006600;
color: #00ff00; color: #00ff00;
} }

View File

@ -61,4 +61,4 @@ services:
logo: "assets/tools/pingdom.png" logo: "assets/tools/pingdom.png"
subtitle: "Pingdom public reports overview" subtitle: "Pingdom public reports overview"
tag: "CI" tag: "CI"
url: "https://www.pingdom.com/" url: "https://www.pingdom.com/"

View File

@ -7,4 +7,4 @@ services:
- "8080:8080" - "8080:8080"
volumes: volumes:
- /etc/homer/assets/:/www/assets - /etc/homer/assets/:/www/assets
restart: unless-stopped restart: unless-stopped

View File

@ -27,4 +27,4 @@ services:
- MYSQL_PASSWORD=$MYSQL_PASSWORD - MYSQL_PASSWORD=$MYSQL_PASSWORD
- MYSQL_DATABASE=$MYSQL_DATABASE - MYSQL_DATABASE=$MYSQL_DATABASE
- MYSQL_USER=$MYSQL_USER - MYSQL_USER=$MYSQL_USER
restart: unless-stopped restart: unless-stopped

View File

@ -27,4 +27,4 @@ services:
- MYSQL_USER=npm - MYSQL_USER=npm
- MYSQL_PASSWORD=npm - MYSQL_PASSWORD=npm
volumes: volumes:
- nginxproxymanager-db:/var/lib/mysql - nginxproxymanager-db:/var/lib/mysql

View File

@ -7,4 +7,4 @@ services:
pid: host pid: host
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /:/host:ro,rslave - /:/host:ro,rslave

View File

@ -11,4 +11,4 @@ services:
- NVIDIA_DRIVER_CAPABILITIES=all - NVIDIA_DRIVER_CAPABILITIES=all
ports: ports:
- 9400:9400 - 9400:9400
restart: unless-stopped restart: unless-stopped

View File

@ -13,4 +13,4 @@ services:
- /usr/bin/nvidia-smi:/usr/bin/nvidia-smi - /usr/bin/nvidia-smi:/usr/bin/nvidia-smi
- /usr/lib/x86_64-linux-gnu/libnvidia-ml.so:/usr/lib/x86_64-linux-gnu/libnvidia-ml.so - /usr/lib/x86_64-linux-gnu/libnvidia-ml.so:/usr/lib/x86_64-linux-gnu/libnvidia-ml.so
- /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1:/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1 - /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1:/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1
restart: unless-stopped restart: unless-stopped

View File

@ -36,4 +36,4 @@ services:
- passbolt-data-gpg:/etc/passbolt/gpg - passbolt-data-gpg:/etc/passbolt/gpg
- passbolt-data-jwt:/etc/passbolt/jwt - passbolt-data-jwt:/etc/passbolt/jwt
command: ["/usr/bin/wait-for.sh", "-t", "0", "passbolt-db:3306", "--", "/docker-entrypoint.sh"] command: ["/usr/bin/wait-for.sh", "-t", "0", "passbolt-db:3306", "--", "/docker-entrypoint.sh"]
restart: unless-stopped restart: unless-stopped

View File

@ -16,4 +16,4 @@ services:
volumes: volumes:
- etcd:/etc/pihole - etcd:/etc/pihole
- dnsmasq:/etc/dnsmasq.d - dnsmasq:/etc/dnsmasq.d
restart: unless-stopped restart: unless-stopped

View File

@ -12,4 +12,4 @@ services:
- /var/lib/docker/volumes:/var/lib/docker/volumes - /var/lib/docker/volumes:/var/lib/docker/volumes
networks: networks:
- portainer-agent_default - portainer-agent_default
restart: unless-stopped restart: unless-stopped

View File

@ -13,4 +13,4 @@ services:
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- portainer-data:/data - portainer-data:/data
restart: unless-stopped restart: unless-stopped

View File

@ -33,4 +33,4 @@ services:
- 80:80 # optional - 80:80 # optional
depends_on: depends_on:
- mariadb - mariadb
restart: unless-stopped restart: unless-stopped

View File

@ -51,4 +51,4 @@ app_service:
# apps: # apps:
# - name: "yourapp" # - name: "yourapp"
# uri: "http://your-app-url" # uri: "http://your-app-url"
# insecure_skip_verify: false # insecure_skip_verify: false

View File

@ -23,4 +23,4 @@ jobs:
key: ${{ secrets.your-private-ssh-key }} key: ${{ secrets.your-private-ssh-key }}
source: './config/*' source: './config/*'
target: '/target/path/' target: '/target/path/'
strip_components: 1 # remove the top level directory strip_components: 1 # remove the top level directory

View File

@ -513,4 +513,4 @@ startupapicheck:
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
# Automount API credentials for a Service Account. # Automount API credentials for a Service Account.
automountServiceAccountToken: true automountServiceAccountToken: true

View File

@ -9,4 +9,4 @@ spec:
name: ssl-issuer name: ssl-issuer
kind: ClusterIssuer kind: ClusterIssuer
dnsNames: dnsNames:
- your-hostname - your-hostname

View File

@ -3,4 +3,4 @@ kind: ClusterIssuer
metadata: metadata:
name: selfsigned-issuer name: selfsigned-issuer
spec: spec:
selfSigned: {} selfSigned: {}

View File

@ -6,4 +6,4 @@ metadata:
# --- # ---
# namespace: your-namespace # namespace: your-namespace
spec: spec:
selfSigned: {} selfSigned: {}

View File

@ -11,4 +11,4 @@ stringData:
# api-key: your-api-key # api-key: your-api-key
# - or - # - or -
# Token: # Token:
# api-token: your-api-token # api-token: your-api-token

View File

@ -25,4 +25,4 @@ data:
return 401; return 401;
} }
} }
} }

View File

@ -29,4 +29,4 @@ spec:
name: nginx-http-cm name: nginx-http-cm
- name: nginx-http-vol - name: nginx-http-vol
hostPath: hostPath:
path: /var/nginxserver path: /var/nginxserver

View File

@ -12,4 +12,4 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
selector: selector:
app: nginx-http app: nginx-http

View File

@ -14,4 +14,4 @@ spec:
service: service:
name: portainer name: portainer
port: port:
number: 9000 number: 9000

View File

@ -0,0 +1 @@

View File

@ -9,4 +9,4 @@ spec:
name: ssl-issuer name: ssl-issuer
kind: ClusterIssuer kind: ClusterIssuer
dnsNames: dnsNames:
- your-hostname - your-hostname

View File

@ -30,4 +30,4 @@ spec:
# volumes: # volumes:
# - name: mysql-vol # - name: mysql-vol
# hostPath: # hostPath:
# path: /var/mysql-data # path: /var/mysql-data

View File

@ -4,4 +4,4 @@ metadata:
name: mysql-secret name: mysql-secret
type: Opaque type: Opaque
stringData: stringData:
root-pass: test123 root-pass: test123

View File

@ -25,4 +25,4 @@ data:
return 401; return 401;
} }
} }
} }

View File

@ -29,4 +29,4 @@ spec:
name: nginx-http-cm name: nginx-http-cm
- name: nginx-http-vol - name: nginx-http-vol
hostPath: hostPath:
path: /var/nginxserver path: /var/nginxserver

View File

@ -12,4 +12,4 @@ spec:
protocol: TCP protocol: TCP
name: http name: http
selector: selector:
app: nginx-http app: nginx-http

View File

@ -9,4 +9,4 @@ stringData:
... ...
-----END CERTIFICATE----- -----END CERTIFICATE-----
server-key.pem: | server-key.pem: |

View File

@ -16,4 +16,4 @@ spec:
protocol: TCP protocol: TCP
name: https name: https
selector: selector:
app: nginx-https app: nginx-https

View File

@ -15,4 +15,4 @@ spec:
service: service:
name: your-service-name # The name of the service name: your-service-name # The name of the service
port: port:
number: 80 # Service Portnumber number: 80 # Service Portnumber

View File

@ -1,4 +1,4 @@
apiVersion: v1 apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: your-namespace name: your-namespace

View File

@ -8,4 +8,4 @@ spec:
storageClassName: civo-volume storageClassName: civo-volume
resources: resources:
requests: requests:
storage: 1Gi storage: 1Gi

View File

@ -24,4 +24,4 @@ spec:
volumes: volumes:
- name: civo - name: civo
persistentVolumeClaim: persistentVolumeClaim:
claimName: civo claimName: civo

View File

@ -24,4 +24,4 @@ spec:
volumes: volumes:
- name: local - name: local
hostPath: hostPath:
path: /var/nginxserver path: /var/nginxserver

View File

@ -10,4 +10,4 @@ spec:
storageClassName: nfs storageClassName: nfs
nfs: nfs:
server: 192.168.1.7 server: 192.168.1.7
path: "/srv/nfs" path: "/srv/nfs"

View File

@ -8,4 +8,4 @@ spec:
storageClassName: nfs storageClassName: nfs
resources: resources:
requests: requests:
storage: 100Mi storage: 100Mi

View File

@ -29,4 +29,4 @@ spec:
# - name: http # - name: http
# port: 80 # port: 80
# targetPort: 30001 # targetPort: 30001
# protocol: TCP # optional protocol # protocol: TCP # optional protocol

View File

@ -32,4 +32,4 @@ spec:
# - hosts: # - hosts:
# - your-hostname.com # Your hostname # - your-hostname.com # Your hostname
# secretName: your-secret # Your TLS Secret # secretName: your-secret # Your TLS Secret
# --- # ---

View File

@ -18,4 +18,4 @@ spec:
# (Optional) TLS Passthrough # (Optional) TLS Passthrough
# tls: # tls:
# passthrough: true # passthrough: true
# --- # ---

View File

@ -1 +1 @@
datasource_list: [ConfigDrive, NoCloud] datasource_list: [ConfigDrive, NoCloud]

View File

@ -1 +1 @@
datasource_list: [ConfigDrive, NoCloud] datasource_list: [ConfigDrive, NoCloud]

View File

@ -1 +1 @@
datasource_list: [ConfigDrive, NoCloud] datasource_list: [ConfigDrive, NoCloud]

View File

@ -1 +1 @@
datasource_list: [ConfigDrive, NoCloud] datasource_list: [ConfigDrive, NoCloud]

View File

@ -43,4 +43,4 @@ resource "helm_release" "traefik" {
name = "tlsOptions.default.minVersion" name = "tlsOptions.default.minVersion"
value = "VersionTLS12" value = "VersionTLS12"
} }
} }

View File

@ -4,4 +4,4 @@ resource "kubectl_manifest" "your-manifest-file" {
# Put your Manifest-file Content right here... # Put your Manifest-file Content right here...
# ... # ...
YAML YAML
} }

View File

@ -38,4 +38,4 @@ resource "kubernetes_deployment" "your-deployment" {
} }
} }
} }
} }

View File

@ -36,4 +36,4 @@ resource "kubernetes_ingress_v1" "your-ingress" {
# hosts = ["your-domain"] # hosts = ["your-domain"]
# } # }
} }
} }

View File

@ -12,4 +12,4 @@ resource "kubernetes_secret" "cloudflare_api_key_secret" {
} }
type = "Opaque" type = "Opaque"
} }

View File

@ -16,4 +16,4 @@ resource "kubernetes_service" "your-service" {
type = "ClusterIP" type = "ClusterIP"
} }
} }

View File

@ -1,3 +1,3 @@
proxmox_api_url = "https://0.0.0.0:8006/api2/json" # Your Proxmox IP Address proxmox_api_url = "https://0.0.0.0:8006/api2/json" # Your Proxmox IP Address
proxmox_api_token_id = "terraform@pam!terraform" # API Token ID proxmox_api_token_id = "terraform@pam!terraform" # API Token ID
proxmox_api_token_secret = "your-api-token-secret" proxmox_api_token_secret = "your-api-token-secret"

View File

@ -46,4 +46,4 @@ resource "proxmox_vm_qemu" "your-vm" {
# sshkeys = <<EOF # sshkeys = <<EOF
# #YOUR-PUBLIC-SSH-KEY # #YOUR-PUBLIC-SSH-KEY
# EOF # EOF
} }

View File

@ -12,4 +12,4 @@ resource "civo_instance" "server" {
# notes = "this is a note for the server" # notes = "this is a note for the server"
# initial_user = "user" # initial_user = "user"
# sshkey_id = data.civo_ssh_key.sshkey.id # sshkey_id = data.civo_ssh_key.sshkey.id
} }

View File

@ -37,4 +37,4 @@ provider "civo" {
token = var.civo_token token = var.civo_token
# (optional) change the defaullt region # (optional) change the defaullt region
# region = "FRA1" # region = "FRA1"
} }

View File

@ -76,4 +76,4 @@ resource "time_sleep" "wait_for_clusterissuer" {
] ]
create_duration = "30s" create_duration = "30s"
} }

View File

@ -73,4 +73,4 @@ provider "kubectl" {
provider "cloudflare" { provider "cloudflare" {
email = var.cloudflare_email email = var.cloudflare_email
api_key = var.cloudflare_api_key api_key = var.cloudflare_api_key
} }

View File

@ -44,4 +44,4 @@ resource "helm_release" "traefik" {
value = "true" value = "true"
} }
} }

View File

@ -21,4 +21,4 @@ resource "docker_container" "nginx" {
internal = 80 internal = 80
external = 8000 external = 8000
} }
} }

View File

@ -35,4 +35,4 @@ Vagrant.configure("2") do |config|
end end
end end
end end