ansible-debops-infrastructure

DebOps and Ansible scripts to manage my infrastructure
git clone git://git.erethon.com/ansible-debops-infrastructure
Log | Files | Refs

ModeNameSize
-rw-r--r--.debops.cfg15L
-rw-r--r--.gitignore38L
-rw-r--r--README.org31L
-rw-r--r--ansible/inventory/group_vars/all/apt_install.yml7L
-rw-r--r--ansible/inventory/group_vars/all/apt_preferences.yml5L
-rw-r--r--ansible/inventory/group_vars/all/auth.yml4L
-rw-r--r--ansible/inventory/group_vars/all/bootstrap.yml5L
-rw-r--r--ansible/inventory/group_vars/all/core.yml3L
-rw-r--r--ansible/inventory/group_vars/all/docker_server.yml7L
-rw-r--r--ansible/inventory/group_vars/all/fail2ban.yml9L
-rw-r--r--ansible/inventory/group_vars/all/ferm.yml17L
-rw-r--r--ansible/inventory/group_vars/all/influxdb.yml3L
-rw-r--r--ansible/inventory/group_vars/all/machine.yml10L
-rw-r--r--ansible/inventory/group_vars/all/monit.yml7L
-rw-r--r--ansible/inventory/group_vars/all/monitoring.yml3L
-rw-r--r--ansible/inventory/group_vars/all/ntp.yml5L
-rw-r--r--ansible/inventory/group_vars/all/pki.yml3L
-rw-r--r--ansible/inventory/group_vars/all/postfix.yml4L
-rw-r--r--ansible/inventory/group_vars/all/postgresql_server.yml18L
-rw-r--r--ansible/inventory/group_vars/all/sshd.yml4L
-rw-r--r--ansible/inventory/group_vars/all/sysctl.yml6L
-rw-r--r--ansible/inventory/group_vars/all/system_users.yml3L
-rw-r--r--ansible/inventory/group_vars/all/users.yml24L
-rw-r--r--ansible/inventory/group_vars/etherpad/all.yml3L
-rw-r--r--ansible/inventory/group_vars/f.erethon.com/all.yml4L
-rw-r--r--ansible/inventory/group_vars/jitsi_service/apt.yml7L
-rw-r--r--ansible/inventory/group_vars/jitsi_service/apt_install.yml24L
-rw-r--r--ansible/inventory/group_vars/jitsi_service/ferm.yml19L
-rw-r--r--ansible/inventory/group_vars/jitsi_service/nginx.yml59L
-rw-r--r--ansible/inventory/group_vars/jitsi_service/tcpwrappers.yml4L
-rw-r--r--ansible/inventory/group_vars/metrics/apt.yml6L
-rw-r--r--ansible/inventory/group_vars/metrics/apt_install.yml3L
-rw-r--r--ansible/inventory/group_vars/metrics/apt_preferences.yml5L
-rw-r--r--ansible/inventory/group_vars/openbsd/all.yml3L
-rw-r--r--ansible/inventory/group_vars/plothopes/all.yml5L
-rw-r--r--ansible/inventory/group_vars/prometheus/all.yml3L
-rw-r--r--ansible/inventory/group_vars/synapse/apt_install.yml3L
-rw-r--r--ansible/inventory/group_vars/synapse/ferm.yml11L
-rw-r--r--ansible/inventory/group_vars/tor_relay/all.yml3L
-rw-r--r--ansible/inventory/group_vars/tor_relay/apt_install.yml3L
-rw-r--r--ansible/inventory/group_vars/tor_relay/apt_preferences.yml5L
-rw-r--r--ansible/inventory/group_vars/tor_relay/ferm.yml11L
-rw-r--r--ansible/inventory/group_vars/xvm/sysctl.yml4L
-rw-r--r--ansible/inventory/host_vars/archiver/users.yml9L
-rw-r--r--ansible/inventory/host_vars/debianprometheus/apt.yml6L
-rw-r--r--ansible/inventory/host_vars/debianprometheus/apt_install.yml3L
-rw-r--r--ansible/inventory/host_vars/debianprometheus/apt_preferences.yml5L
-rw-r--r--ansible/inventory/host_vars/jitsi/jitsi.yml3L
-rw-r--r--ansible/inventory/host_vars/jitsi/pki.yml5L
-rw-r--r--ansible/inventory/host_vars/libreopsgrafana/prometheus.yml8L
-rw-r--r--ansible/inventory/host_vars/postgresmatrix/postgresql_server.yml23L
-rw-r--r--ansible/inventory/host_vars/productiongrafana/ferm.yml12L
-rw-r--r--ansible/inventory/host_vars/productiongrafana/prometheus.yml14L
-rw-r--r--ansible/inventory/host_vars/productionmatrix/nginx.yml6L
-rw-r--r--ansible/inventory/host_vars/productionmatrix/postgresql.yml12L
-rw-r--r--ansible/inventory/host_vars/productionmatrix/riot.yml14L
-rw-r--r--ansible/inventory/host_vars/productionmatrix/synapse.yml10L
-rw-r--r--ansible/inventory/host_vars/spinny/apt_install.yml7L
-rw-r--r--ansible/inventory/host_vars/spinny/cron.yml9L
-rw-r--r--ansible/inventory/host_vars/spinny/ferm.yml71L
-rw-r--r--ansible/inventory/host_vars/spinny/haproxy.yml12L
-rw-r--r--ansible/inventory/host_vars/spinny/monitoring.yml3L
-rw-r--r--ansible/inventory/host_vars/t2/all.yml3L
-rw-r--r--ansible/inventory/hosts1L
-rw-r--r--ansible/playbooks/base_openbsd.yml9L
-rw-r--r--ansible/playbooks/docker.yml25L
-rw-r--r--ansible/playbooks/etherpad.erethon.yml8L
-rw-r--r--ansible/playbooks/monit.yml11L
-rw-r--r--ansible/playbooks/plothopes.com28L
-rw-r--r--ansible/playbooks/synapse.yml20L
-rw-r--r--ansible/playbooks/tor_relay.yml16L
-rw-r--r--ansible/playbooks/webd.yml7L
-rw-r--r--ansible/roles/docker/tasks/main.yml5L
-rw-r--r--ansible/roles/etherpad.erethon.com/tasks/main.yml28L
-rw-r--r--ansible/roles/f.erethon.com/tasks/main.yml13L
-rw-r--r--ansible/roles/grafana/defaults/main.yml18L
-rw-r--r--ansible/roles/grafana/tasks/main.yml16L
-rw-r--r--ansible/roles/haproxy/handlers/main.yml6L
-rw-r--r--ansible/roles/haproxy/tasks/main.yml11L
-rw-r--r--ansible/roles/haproxy/templates/concat_certificates.sh.j26L
-rw-r--r--ansible/roles/haproxy/templates/crt-list.cfg.j23L
-rw-r--r--ansible/roles/haproxy/templates/haproxy.cfg.j277L
-rw-r--r--ansible/roles/laptop/files/etc/pf.conf7L
-rw-r--r--ansible/roles/laptop/files/etc/rc.conf.local.gitignore7L
-rw-r--r--ansible/roles/monit/handlers/main.yml6L
-rw-r--r--ansible/roles/monit/tasks/main.yml10L
-rw-r--r--ansible/roles/monit/templates/cpu_ram.monit.j24L
-rw-r--r--ansible/roles/monit/templates/fs.monit.j22L
-rw-r--r--ansible/roles/monit/templates/ssh.monit.j24L
-rw-r--r--ansible/roles/monitoring/files/node_exporter.service11L
-rw-r--r--ansible/roles/monitoring/handlers/main.yml12L
-rw-r--r--ansible/roles/monitoring/tasks/main.yml31L
-rw-r--r--ansible/roles/monitoring/templates/sysconfig.node_exporter.j21L
-rw-r--r--ansible/roles/monitoring/templates/sysconfig.postgres_exporter.j22L
-rw-r--r--ansible/roles/openbsd/files/installurl1L
-rw-r--r--ansible/roles/openbsd/tasks/main.yml44L
-rw-r--r--ansible/roles/plothopes.com/tasks/main.yml28L
-rw-r--r--ansible/roles/prometheus/handlers/main.yml6L
-rw-r--r--ansible/roles/prometheus/tasks/main.yml7L
-rw-r--r--ansible/roles/prometheus/templates/prometheus.yml.j263L
-rw-r--r--ansible/roles/riot/defaults/main.yml23L
-rw-r--r--ansible/roles/riot/tasks/main.yml36L
-rw-r--r--ansible/roles/riot/templates/config.json55L
-rw-r--r--ansible/roles/static.erethon.com/files/httpd.conf10L
-rw-r--r--ansible/roles/static.erethon.com/files/httpd/about.erethon.com.conf4L
-rw-r--r--ansible/roles/static.erethon.com/files/httpd/blog.conf4L
-rw-r--r--ansible/roles/static.erethon.com/files/httpd/capitalism.conf4L
-rw-r--r--ansible/roles/static.erethon.com/files/httpd/dgrig.com.conf4L
-rw-r--r--ansible/roles/static.erethon.com/files/httpd/erethon.conf5L
-rw-r--r--ansible/roles/static.erethon.com/files/httpd/git.erethon.com.conf4L
-rw-r--r--ansible/roles/static.erethon.com/files/httpd/hacked.conf4L
-rw-r--r--ansible/roles/static.erethon.com/handlers/main.yml6L
-rw-r--r--ansible/roles/static.erethon.com/tasks/main.yml31L
-rw-r--r--ansible/roles/synapse/defaults/main.yml27L
-rw-r--r--ansible/roles/synapse/tasks/main.yml10L
-rw-r--r--ansible/roles/synapse/templates/homeserver.yaml.j268L
-rw-r--r--ansible/roles/synapse/templates/server_name.yaml.j21L
-rw-r--r--ansible/roles/tor_relay/tasks/main.yml15L
-rw-r--r--ansible/roles/tor_relay/templates/torrc.j25L
-rw-r--r--requirements.txt1L
-rw-r--r--terraform/infrastructure/README.org15L
-rw-r--r--terraform/infrastructure/oricono/main.tf126L
-rw-r--r--terraform/infrastructure/oricono/variables.tf9L
-rw-r--r--terraform/infrastructure/prod/main.tf107L
-rw-r--r--terraform/infrastructure/prod/variables.tf19L
-rw-r--r--terraform/infrastructure/production/main.tf96L
-rw-r--r--terraform/infrastructure/production/variables.tf14L
-rw-r--r--terraform/infrastructure/services/grafana/main.tf10L
-rw-r--r--terraform/infrastructure/services/grafana/variables.tf4L
-rw-r--r--terraform/modules/libvirt_host/main.tf67L
-rw-r--r--terraform/modules/libvirt_host/network_template.yml12L
-rw-r--r--terraform/modules/libvirt_host/user_template.yml2L
-rw-r--r--terraform/modules/libvirt_host/vars.tf87L
-rw-r--r--terraform/modules/libvirt_network/main.tf10L
-rw-r--r--terraform/modules/libvirt_network/outputs.tf7L
-rw-r--r--terraform/modules/libvirt_network/vars.tf26L