Skip to content

ansible: add Docker-based role testing in CI #2

Description

@fkarg

Close the "there are no tests/lint" gap noted in AGENTS.md with something stronger than --check --diff.

Reference. eoli3n/dotfiles (README → Related configs) runs Ansible roles inside throwaway Docker containers in CI — the established pattern for validating dotfiles/provisioning roles without a real host.

Scope.

  • Container-based smoke test per OS baseline (at least Debian/Ubuntu for base + terminal_dotfiles).
  • Wire into CI so role changes are exercised on push.
  • Complements, not replaces, scripts/ansible_smoketest.sh.

Watch-outs. The terminal profile is the natural test target (no personal, no server_hardening, safe on any box). confirm_overwrite=false and the first-launch config-dir behavior need to hold inside the container.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions