Environment_Infrastructure/ansible/test/test-app-post-stack.yml
Murat ÖZDEMİR 2198f932cd Implement: Gitea Actions runner, automated DB stack, and Turkish localization
*   Introduces an Ansible role for installing and registering `act_runner` for Gitea Actions.
*   Automates PostgreSQL and MongoDB deployment on Docker Swarm in the test environment, leveraging Docker named volumes for data persistence.
*   Translates core documentation, including `README.md` and `setup/04-test-db-docker-kurulum.md`, to Turkish.
*   Adds comprehensive documentation for firewall architecture (`facts/firewall.md`) and Docker Swarm node recovery (`facts/swarm-node-recovery.md`).
*   Enhances security hardening by ensuring `fail2ban` is enabled and streamlining admin SSH key management via Ansible.
*   Updates Ansible vault structure to support new secret variables and adds `.vault_pass` to `.gitignore`.
2026-05-12 18:34:24 +03:00

20 lines
652 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
# 05 · Test runner ve deploy ön koşulları
#
# Ön koşul: Gitea arayüzünden (Organization → Settings → Actions → Runners)
# bir Registration Token alın ve group_vars/all/vault.yml içindeki
# vault_gitea_runner_token değişkenine ekleyin.
#
# ansible-playbook test-app-post-stack.yml --vault-password-file=.vault_pass
#
# Token tanımlı değilse kurulum tamamlanır ancak kayıt adımı atlanır.
# Sonraki çalıştırmada .runner dosyası varsa kayıt tekrar yapılmaz (idempotent).
- name: "App Node -Gitea runner ve deploy ön koşulları"
hosts: app
become: true
roles:
- role: act_runner
tags: [act_runner]