ops: GOA merchant-first 2026-09-15 daylog + lab-hosts + APPLY driver

This commit is contained in:
Hernâni Marques 2026-09-16 02:48:57 +02:00
parent 2eb44c95d9
commit 0d881cd726
No known key found for this signature in database
GPG key ID: CB5738652768F7E9
3 changed files with 468 additions and 0 deletions

View file

@ -0,0 +1,19 @@
---
# lab-only: pin *.goa.local → 127.0.0.1 inside goa-regio-ng
# ephemeral on container recreate — re-run after recreate / before site.yml wait-on-bank
# inventory: goa-regio-ng-koopa.yml (same SSH ProxyCommand)
#
# ansible-playbook -i goa-regio-ng-koopa.yml lab-hosts.yml
- name: lab hosts goa.local
hosts: regional_currency
gather_facts: false
tasks:
- name: /etc/hosts *.goa.local → 127.0.0.1
ansible.builtin.blockinfile:
path: /etc/hosts
marker: "# {mark} ANSIBLE LAB goa.local"
# podman systemd: /etc/hosts often EBUSY on atomic rename
unsafe_writes: true
block: |
127.0.0.1 bank.goa.local exchange.goa.local backend.goa.local goa.local