Rather than having the configuration options split across multiple files
(root-password, flavor, gitlab-url, gitlab-runner-token, ...), let's
consolidate these settings into a global config file.
The YAML format has been chosen simply because it's the native data
format in Ansible and thus plays very nicely when accessing variables
within Ansible playbooks.
Signed-off-by: Erik Skultety <eskultet(a)redhat.com>
---
guests/config.yaml | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 guests/config.yaml
diff --git a/guests/config.yaml b/guests/config.yaml
new file mode 100644
index 0000000..291fd57
--- /dev/null
+++ b/guests/config.yaml
@@ -0,0 +1,23 @@
+---
+# Configuration file for lcitool
+
+install:
+ # Installation flavor determining the target environment for the VM:
+ #
+ # test - VMs suitable for local testing, 'test' has passwordless sudo
+ # jenkins - VMs pluggable to a jenkins environment
+ # gitlab - VMs ready to be plugged to a GitLab environment
+ flavor: test
+
+ # Initial root password to be set by ansible on the appliance. This password
+ # will only be necessary for serial console access in case something goes
+ # horribly wrong, for all other use cases, SSH key authentication will be used
+ # instead. (Mandatory)
+ #root_password:
+
+gitlab:
+ # GitLab runner agent registration options, applies only if flavor ==
'gitlab'.
+ url:
https://gitlab.com
+
+ # GitLab runner registration token. (Mandatory)
+ #runner_secret:
--
2.25.3