Skip to content

KP-10944 wrapper playbook#120

Open
aajarven wants to merge 2 commits intomainfrom
KP-10944-wrapper-playbook
Open

KP-10944 wrapper playbook#120
aajarven wants to merge 2 commits intomainfrom
KP-10944-wrapper-playbook

Conversation

@aajarven
Copy link
Copy Markdown
Member

@aajarven aajarven commented Apr 20, 2026

This repo has similar inventory directory structure as our proxy, so the group var location differs from the default in a way similar to https://github.com/CSCfi/Kielipankki-proxy/pull/96 here too.

NB: only the pouta / dev provisioning has been tested.

This makes accidentally running the old playbooks less likely. When the
playbooks are moved, the group vars are no longer in the same directory
as they are, so they must be moved too. In addition to being in the same
directory as the playbooks, they can also be in the same directory as
the inventories, the latter approach being perhaps the neater.

This is the first step in taking the [shared playbook wrapper into
use](https://github.com/CSCfi/Kielipankki-ansible-common/blob/main/roles/playbook_wrappers/README.md).
The [normal procedure](https://github.com/CSCfi/Kielipankki-ansible-common/blob/main/roles/playbook_wrappers/README.md)
is to place the group vars together with the inventory, but
unfortunately in this repository, we have the inventories in
subdirectories of their own, meaning that their inventory group vars
need to be in different directories. This can be circumvented by keeping
the group vars together with the playbooks. This means that the wrapper
and the payload playbooks will have group vars of their own, but this
is not a problem.
@aajarven aajarven force-pushed the KP-10944-wrapper-playbook branch from c949020 to d6785df Compare April 24, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant