Commit 6e8661c
committed
(maint) Extract concrete inventory file for pr_testing workflow
The kvm_automation_tooling generated inventory files rely on a fork of the
puppetlabs-terraform module plugins to extract target information from
the Terraform state file
(jpartlow/puppetlabs-terraform@include-module-when-resolving-references).
This change came between v1 and v2 kvm_automation_tooling versions.
When we run openvox_bootstrap tasks, in CI, the Bolt installation only
has the base puppetlabs-terraform module to work with, so we need an
inventory file with explicit target information (ip addresses) now that
nested_vms is using kvm_automation_tooling@v2.
The .inventory.targets from 'bolt inventory show --format json' is
suitable as a concrete list of targets with a little massaging (there is
a 'groups' entry that Bolt doesn't expect in an inventory file).1 parent b811ef4 commit 6e8661c
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
61 | 67 | | |
62 | 68 | | |
63 | | - | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | | - | |
| 72 | + | |
0 commit comments