Add to requirements.yml
:
---
collections:
- name: https://github.com/hyphacoop/ansible-common.git
type: git
Install with:
ansible-galaxy install -r requirements.yml
Our setup
role conflicts with Ansible's built-in one. In general modules should be specified by their full path, like hypha.common.setup
and ansible.builtin.setup
.
- setup - setup server for use
- firewall - setup system and docker firewall
- gather_facts - gathers facts if playbook started skipping facts
- harden_ssh - locks out root login, and disables password logins on SSH
- loki - install loki
- mkswap - create a swap file
- nginx - install nginx and set up reverse-proxies
- node_exporter - install node_exporter
- nodejs - install nodejs
- prometheus - install prometheus
- prometheus_alertmanager - installs alertmanager
- prometheus_alertmanager_matrix - installs a matrix bot for alertmanager
- prometheus_exporter_addnode - add node config to prometheus
- prometheus_exporter_docker - installs cAdvisor
- promtail - installs promtail for loki
- provision_disks - partition and mount disks
- provision_ssh_keys - setup sysadmin user, set passwords, add SSH keys
- proxmox_provision_vm - provision VM on ProxMox
- proxmox_server - setup ProxMox server for provisioning
-
- reboot - reboots the machine
- ssl - parent to nginx, provdes ssl certificates
- unattended_upgrades - setup unattended upgrades