Creates a minimal environment consisting of an ansible.cfg and an inventory file--with a dummy host variable in-line--required for correct execution. Fixes #29.
What and why?
Prior to this PR, a fresh clone of this repository would not result in the test Boardwalk workflows executing correctly. This PR aims to fix that with a minimally viable configuration (an ansible.cfg (which references the inventory file); a test-inventory (which contains localhost and a dummy inventory variable[1]). With these changes, the test workflows succeed.
[1] The dummy inventory variable is required, due to various places in boardwalk--such as check_host_preconditions_locally--relying on the hostname being a key within the gathered inventory_vars.
How was this tested?
Locally by executing the ShouldSucceedTestWorkspace and ShouldFailTestWorkspace workspaces (which succeeded and failed respectively). Absent the PR, they were failing to gather any hosts.
Checklist
[ ] Have you updated the VERSION file (if applicable)?
(Don't think this needs a version bump, since this just affects the tests.)
Creates a minimal environment consisting of an ansible.cfg and an inventory file--with a dummy host variable in-line--required for correct execution. Fixes #29.
What and why?
Prior to this PR, a fresh clone of this repository would not result in the test Boardwalk workflows executing correctly. This PR aims to fix that with a minimally viable configuration (an
ansible.cfg
(which references the inventory file); atest-inventory
(which contains localhost and a dummy inventory variable[1]). With these changes, the test workflows succeed.[1] The dummy inventory variable is required, due to various places in
boardwalk
--such ascheck_host_preconditions_locally
--relying on the hostname being a key within the gatheredinventory_vars
.How was this tested?
Locally by executing the
ShouldSucceedTestWorkspace
andShouldFailTestWorkspace
workspaces (which succeeded and failed respectively). Absent the PR, they were failing to gather any hosts.Checklist