No description
Find a file
2023-04-19 17:13:16 +02:00
group_vars add zram service role 2023-04-19 17:13:16 +02:00
roles add zram service role 2023-04-19 17:13:16 +02:00
.gitignore add samba support; add samba iptables role 2022-11-24 10:21:06 +01:00
COPYING add COPYING; add missing README informations 2022-11-23 15:10:28 +01:00
docker-compose.yml.example init repo with: iptables, pihole, snort, yggdrasil, basic hardening, os-updates 2022-11-18 18:33:37 +01:00
Dockerfile.example init repo with: iptables, pihole, snort, yggdrasil, basic hardening, os-updates 2022-11-18 18:33:37 +01:00
handbook.yml better way to handle services for groups/hosts 2023-03-07 18:38:57 +01:00
os-update.yml better playbook organization; add zabov role; add dns-filter role 2022-11-23 11:59:37 +01:00
README.md better pihole role; change update_only and uninstall from variable to global tag; update accordingly dependent roles 2023-01-11 17:44:16 +01:00
requirements.yml add samba support; add samba iptables role 2022-11-24 10:21:06 +01:00
setup-node.yml better playbook organization; add zabov role; add dns-filter role 2022-11-23 11:59:37 +01:00
ssh-copy-id.yml better playbook organization; add zabov role; add dns-filter role 2022-11-23 11:59:37 +01:00

configurations-ansible

This repository aims to handle most of the Unitoo basic/ standard configuration for different purposes.

Actually the repository is not optimized but is usable (we are using it), more changes yet to come

Playbooks

  • handbook.yml: is the main playbook, used for most of the situations. The playbook respond to vars configured to hosts. You can, for example, create multiple inventories, each with different host_vars and call this playbook to setup just only triggered roles. Each role has correspondent tags.
  • os-update.yml: this playbook is useful when you need to update multiple hosts from another host (like a "controller")
  • setup-node.yml: this playbook helps you to setup a target to allow it to play ansible playbooks
  • ssh-copy-id.yml: this helps you to send your ssh pubkey to multiple targets for the given user

Docker

The examples for Dockerfile.example and docker-compose.yml.example are useful if you need a basic container to test your playbook with different systems (like Centos/ Ubuntu). Copy them and modify as needed :)

Global tags

  • global.update_only: skip installation/ first setup phase and trigger the update phase only (for configurations as example); each role needs to implement this.
  • global.uninstall: activate the uninstall phase for specified tags and targets

Authors & contributors

Support

Donate using Liberapay


unitoo.it  ·  Fediverse admin@social.unitoo.it  ·  GitHub @UnitooTeam