arillso#

Ansible roles for what a Linux host needs: packages, firewall, Docker, K3s, monitoring agents. And the tools to run them from a shell, a container, a GitHub workflow or Go. Open source, MIT licensed.

Collections#

Collection

Version

Contents

Roles

arillso.system

2.0.4

15 roles · 2 modules
6 filters · 2 lookups

access (users, SSH), ansible (ansible-pull via systemd timer), bitwarden_secrets (Bitwarden Secrets CLI), facts (system facts), firewall (nftables), logging, network, packages, python (pip packages), ready (wait for readiness), shell (shell, MOTD), systemd (systemd units), thermal (sensors), tuning (kernel tuning), zram (compressed swap)

arillso.container

2.2.0

7 roles · 0 modules
3 filters · 0 lookups

docker (Docker Engine), docker_compose_v2 (Compose v2), docker_login (registry login), k3s (K3s), helm (Helm charts), fleet (Rancher Fleet), tailscale (Tailscale in Kubernetes)

arillso.agent

2.1.0

3 roles · 0 modules
1 filters · 0 lookups

alloy (Grafana Alloy), do (DigitalOcean monitoring agent), tailscale (Tailscale VPN client on the host)

Install from Ansible Galaxy:

ansible-galaxy collection install arillso.system arillso.container arillso.agent

Indexes across all three collections: roles, modules, filters, lookups, environment variables. The collection pages are generated with antsibull-docs from the versions listed above.

Run a playbook#

site.yml: one playbook, three collections#
- hosts: all
  become: true
  roles:
    - role: arillso.system.packages
      vars:
        packages_list:
          - name: git

    - role: arillso.container.docker

    - role: arillso.agent.alloy
      vars:
        alloy_prometheus_enabled: true
        alloy_prometheus_remote_write:
          - name: default
            url: https://prom.example.com/api/v1/write
Shell#
ansible-playbook -i inventory.ini site.yml
Container image#
docker run --rm -v "$PWD":/work -w /work \
  arillso/ansible:2.22.0 \
  ansible-playbook -i inventory.ini site.yml
GitHub Actions#
- uses: arillso/action.playbook@0.5.0
  with:
    playbook: site.yml
    inventory: inventory.ini
Go#
pb := ansible.NewPlaybook()
pb.Config.Playbooks = []string{"site.yml"}
pb.Config.Inventories = []string{"inventory.ini"}
err := pb.Exec(ctx)

Tools#

Project

Kind

Reference

arillso/ansible

Container image

Ansible in an Alpine image, for CI jobs and local runs. Source: arillso/docker.ansible

action.playbook

GitHub Action

Runs ansible-playbook in a workflow step. Source: arillso/action.playbook

go.ansible

Go module

Builds and runs ansible-playbook and ansible-galaxy calls from Go. Source: arillso/go.ansible

Guide#

Part

Pages

Getting started

Quick Start, Development Environment, Architecture

Working with arillso

Use Cases, Examples, Security, Ansible Role & Collection Design

Project

Version Compatibility, Troubleshooting & FAQ, Repository Standards, CI/CD & Linting, Contributing

Source code, issues and discussions: github.com/arillso. All arillso projects are released under the MIT License.