infra/ansible/roles/general/tasks/main.yml
Graham McIntire fb5803c866
add FreeBSD bootstrap, irc servers, hostname overrides, and cleanups
- bootstrap.yml: support pkg for FreeBSD sudo/python3 install
- base role: FreeBSD package sets, sudoers paths, host key regen, admin group, usermod process-in-use tolerance
- freebsd role: pkg update/upgrade tasks
- general role: standalone hostname tasks (ungated from network.skip), hostname_override support
- inspircd role: deploy configs for ca/us manero.org irc servers with vault-backed secrets
- uisp role: download and run installer on fresh hosts, skip if already running
- netbox role: stop services before usermod to avoid process-in-use failures
- hosts: add irc_servers group, ca/us.manero.org (Tailscale), drop staging.towerops.net
- all.yml: graham user gets static ed25519 key alongside github keys
2026-06-19 17:19:29 -05:00

50 lines
No EOL
1.2 KiB
YAML

---
- name: Install misc Debian packages
ansible.builtin.import_tasks: debian/misc.yml
when: ansible_facts['os_family'] == "Debian"
tags:
- misc
- name: Configure MOTD
ansible.builtin.import_tasks: debian/motd.yml
when: ansible_facts['os_family'] == "Debian"
tags:
- motd
- name: Configure hostname
ansible.builtin.import_tasks: debian/hostname.yml
when: ansible_facts['os_family'] == "Debian"
tags:
- hostname
- name: Configure networking
ansible.builtin.import_tasks: debian/network.yml
when: ansible_facts['os_family'] == "Debian"
tags:
- network
- name: Apply UDP GRO fix for Tailscale
ansible.builtin.import_tasks: udp-gro-fix.yml
when: ansible_facts['os_family'] == "Debian"
tags:
- network
- tailscale
- name: Install K3s packages
ansible.builtin.import_tasks: debian/k3s.yml
when: ansible_facts['os_family'] == "Debian"
tags:
- k3s
- name: Uninstall Icinga2 on non-monitor hosts
ansible.builtin.import_tasks: debian/icinga2.yml
when: ansible_facts['os_family'] == "Debian"
tags:
- icinga2
- monitoring
- name: Configure NFS mounts
ansible.builtin.import_tasks: debian/nfs.yml
when: ansible_facts['os_family'] == "Debian"
tags:
- nfs