Files
dotfiles/config/ansible
Menno van Leeuwen 0f35a7b9e2
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 37s
Nix Format Check / check-format (push) Failing after 1m39s
Python Lint Check / check-python (push) Failing after 23s
Add country-based IP blocking for Caddy via Ansible
- Introduce generate_country_blocks.py to fetch IP ranges by country
- Update group_vars/servers.yml with country blocking settings
- Add country_block snippet to Caddyfile and apply to all sites
- Create Ansible tasks for automated IP range generation and integration
- Add documentation for configuring and managing country blocking
2025-06-15 01:30:42 +02:00
..
2025-05-19 15:27:46 +02:00
2025-05-19 15:27:46 +02:00

Ansible Configuration

1Password Integration

This Ansible configuration includes a custom lookup plugin for fetching secrets from 1Password. The 1Password CLI must be installed and authenticated on the machine running Ansible.

See 1Password Integration Readme

Prerequisites

  1. Install 1Password CLI
  2. Sign in to 1Password using op signin
  3. Service account should be properly configured

Finding Vault IDs

To find your vault ID:

op vault list

For more information, see the 1Password CLI documentation.