This commit is contained in:
Jeffrey Serio 2024-10-26 13:35:07 -05:00
parent 17ebacd5da
commit 08be24313e
5 changed files with 21 additions and 16 deletions

View File

@ -1,2 +1,3 @@
* ansible-homelab * ansible-homelab
I use these to automate various tasks on the (mostly Debian) servers I run.

View File

@ -1,5 +1,5 @@
--- ---
- hosts: all - hosts: servers
gather_facts: true gather_facts: true
become: true become: true

View File

@ -1,15 +0,0 @@
---
homelab:
hosts:
hyperreal.coffee:
ansible_user: jas
ansible_host: hyperreal.coffee
ansible_python_interpreter: /usr/bin/python3
aux-vm:
ansible_user: jas
ansible_host: 10.0.0.26
ansible_python_interpreter: /usr/bin/python3
box.moonshadow.dev:
ansible_user: jas
ansible_host: box.moonshadow.dev
ansible_python_interpreter: /usr/bin/python3

6
prometheus-setup.yml Normal file
View File

@ -0,0 +1,6 @@
---
- hosts: localhost
tasks:
- name: Import the Node Exporter role
import_role:
name: prometheus.prometheus.node_exporter

13
shell.nix Normal file
View File

@ -0,0 +1,13 @@
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
mkShell {
buildInputs = [
ansible
ansible-lint
];
shellHooks = ''
export LC_ALL="C.UTF-8"
'';
}