src.dualinventive.com/devops/ansible/external-roles/gitea/tests
Jerry Jacobs 1193c82181 initial 2024-08-09 12:10:16 +02:00
..
README.md initial 2024-08-09 12:10:16 +02:00
requirements.yml initial 2024-08-09 12:10:16 +02:00
test.yml initial 2024-08-09 12:10:16 +02:00

README.md

Ansible Role tests

All credit goes to @geerlingguy for his amazing work with Ansible.

To run the test playbook(s) in this directory:

  1. Install and start Docker.
  2. Download the test shim into tests/test.sh: - wget -O tests/test.sh https://gist.githubusercontent.com/noplanman/40e96f31ee2301469769d4236aff40e2/raw/
  3. Make the test shim executable: - chmod +x tests/test.sh.
  4. Run (from the role root directory) - distro=[distro] tests/test.sh or - distro=[distro] cleanup=false tests/test.sh to keep container