aboutsummaryrefslogtreecommitdiff
path: root/docs/sample-environment.yml
diff options
context:
space:
mode:
authorspmfox <spmfox@foxwd.com>2024-05-27 22:02:53 -0400
committerspmfox <spmfox@foxwd.com>2024-05-27 22:02:53 -0400
commita2f4ef8a1d83ac42195ad9c10d95572b44609dcd (patch)
treebb0f28e9d9b20376367e73bee57f8a026657320b /docs/sample-environment.yml
parentb1bf9890d12d965011c2dff639b8eb0b477d7ad2 (diff)
Initial commit of project
Diffstat (limited to 'docs/sample-environment.yml')
-rw-r--r--docs/sample-environment.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/sample-environment.yml b/docs/sample-environment.yml
new file mode 100644
index 0000000..18e65b0
--- /dev/null
+++ b/docs/sample-environment.yml
@@ -0,0 +1,25 @@
+# See README.md to determine which variables are needed for which activity.
+
+all:
+ hosts:
+ remote-machine:
+ create_user_ssh_pub: "ssh-rsa <ssh key>"
+# This is the bare minimum required - no users will be created, this key will be used for root only.
+
+ remote-machine2:
+ ansible_user: "root"
+ create_user: "spmfox"
+ create_user_password: "password"
+ create_user_shell: "/usr/bin/fish"
+ create_user_ssh_pub: "ssh-rsa <ssh key>"
+# This will create a user with a custom shell defined, and use the same SSH key for the user and root. User will also have a password.
+# Root account is used for the initial connection during deployment on an existing machine.
+
+ localhost:
+ ansible_connection: local
+ create_user: "spmfox"
+ create_user_ssh_pub: "ssh-rsa <ssh key>"
+ centos_bootc_tag: "stream9-1714747911"
+ bootc_acknowledge: false
+# This is a local run only, useful for creating ISOs and perhaps running update.yml. The centos-bootc:tag can be specified here, using an earlier version.
+# Because this version is before the need for an acknowledgement during bootc deployment, we can override and remove that from the command.