Compare commits

...

5 Commits

Author SHA1 Message Date
Ricard Illa 86e438b6b8 feat: justfile 2023-03-28 17:49:36 +02:00
Ricard Illa d78d91e83f removed .DS_Store file 2023-01-27 11:54:01 +01:00
Ricard Illa 657c36dd1b suricata's configs subvolume 2023-01-27 11:53:12 +01:00
Ricard Illa 80484d7d4d curl as a quality-of-life tool on alpine 2023-01-27 11:52:35 +01:00
Ricard Illa d2b5fd0488 suricata's configs subvolume 2023-01-27 11:52:15 +01:00
7 changed files with 22 additions and 11 deletions

7
deploy
View File

@ -1,7 +0,0 @@
#!/bin/sh
ansible-playbook \
--inventory hosts.yml \
--vault-password-file get_password.sh \
"$@" \
deploy.yml

View File

@ -9,10 +9,11 @@
in {
devShell = pkgs.mkShell {
nativeBuildInputs = [
pkgs.bashInteractive
pkgs.ansible
pkgs.ansible-lint
pkgs.ansible-doctor
pkgs.ansible-lint
pkgs.bashInteractive
pkgs.just
];
buildInputs = [ ];
};

View File

@ -23,3 +23,4 @@ volume /mnt/btr_pool
subvolume home
subvolume rancher_config
subvolume backups
subvolume configs

View File

@ -157,6 +157,12 @@ all:
opts: "subvol=certs,noatime,compress=zstd"
passno: "0"
- src: "/dev/mapper/disk0"
path: "/srv/configs"
fstype: "btrfs"
opts: "subvol=configs,noatime,compress=zstd"
passno: "0"
- src: "/mnt/certs/acme"
path: "/srv/nfs/k8s/acme"
fstype: "none"

9
justfile Normal file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env -S just --justfile
deploy HOST *ARGS:
ansible-playbook \
--inventory hosts.yml \
--vault-password-file get_password.sh \
--limit {{HOST}} \
{{ARGS}} \
deploy.yml

BIN
roles/nut/.DS_Store vendored

Binary file not shown.

View File

@ -2,14 +2,15 @@
- name: quality of life packages
apk:
name:
- curl
- htop
- man-pages
- mandoc
- mksh # I want something somewhat nicer thant busybox ash
- mosh
- neovim
- ripgrep
- tmux
- mandoc
- man-pages
when: ansible_distribution == "Alpine"
- name: install python3