Elektrine lite

← Feed

@appsinet@phpc.social

Post #162288

2026-01-28 17:52 UTC

@niclas@infosec.exchange we have this structure at work, and works well. We execute `ansible-playbook -i inventory/prod/hosts.yml playbook.yml`, and it gets the variables both on vars and vault

Replies (1)

  • @niclas@infosec.exchange 2026-01-28 21:07

    @appsinet@phpc.social Interesting. Are your playbooks also located in a subfolder and not in the `inventory`folder? Because for me, those vars are not loaded when executing the playbook with `ansible-playbook -i inventory/inventory.yml playbooks/infra.yml`

    Open ##3060020