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 | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 guests/config.yaml
diff --git a/guests/config.yaml b/guests/config.yaml
new file mode 100644
index 0000000..05f1e8a
--- /dev/null
+++ b/guests/config.yaml
@@ -0,0 +1,25 @@
+---
+# Configuration file for lcitool
+
+install:
+
+ # Installation flavor determining the target environment for the VM:
+ #
+ # test - VMs suitable for local testing (the 'test' user has sudo privileges)
+ # jenkins - VMs ready to be plugged into a Jenkins environment
+ # gitlab - VMs ready to be plugged into a GitLab environment
+ flavor: test
+
+ # Root password for the VM. 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-related options (only apply to the 'gitlab' flavor)
+gitlab:
+
+ # GitLab connection URL
+ url:
https://gitlab.com
+
+ # GitLab runner registration token. (Mandatory)
+ runner_secret:
--
2.25.3