Commit the accumulated infrastructure work that was living only in the working tree: monitoring stack, emergency access/bot, gyro allocator, grimmory, adguard, backup audit and the OpenCode agent definitions. Also ignore Python bytecode, local archives and Nix/direnv artifacts. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GTocXkGUUazHdKKd3r9k71
31 lines
883 B
YAML
31 lines
883 B
YAML
---
|
|
- name: Create emergency-bot LXC on mini-pc
|
|
hosts: localhost
|
|
connection: local
|
|
become: false
|
|
gather_facts: false
|
|
vars:
|
|
ansible_become: false
|
|
ansible_python_interpreter: "{{ ansible_playbook_python }}"
|
|
pve_lxc_vmid: 148
|
|
pve_lxc_node: mini-pc
|
|
pve_lxc_hostname: emergency-bot
|
|
pve_lxc_ip: 192.168.1.32/24
|
|
pve_lxc_gateway: 192.168.1.1
|
|
pve_lxc_disk: local-lvm:4
|
|
pve_lxc_cores: 1
|
|
pve_lxc_memory: 512
|
|
pve_lxc_swap: 256
|
|
pve_lxc_startup: order=70
|
|
pve_lxc_ostemplate: "{{ lookup('env', 'PVE_LXC_OSTEMPLATE') | default('local:vztmpl/debian-13-standard_13.1-2_amd64.tar.zst', true) }}"
|
|
roles:
|
|
- role: pve_lxc
|
|
|
|
- name: Wait for emergency-bot SSH
|
|
hosts: emergency-bot
|
|
gather_facts: false
|
|
tasks:
|
|
- name: Wait for emergency-bot to accept SSH connections
|
|
ansible.builtin.wait_for_connection:
|
|
timeout: 120
|