Variable structure finalized

This commit is contained in:
2025-03-22 17:52:41 -05:00
parent b64a2b5b50
commit 8c00a98ae2
5 changed files with 19 additions and 1 deletions

View File

@@ -3,7 +3,6 @@
hosts: 127.0.0.1
connection: local
gather_facts: true
#vars_files: ../vars.yml
vars_prompt:
- name: freeipa_password

View File

@@ -40,6 +40,23 @@ For the sake of this documentation we'll assume the following:
## Getting Started
### Create your vault file for secrets
### Store your vault password somewhere save
```bash
vi ~/.vault_pass.txt
chmod 644 ~/.vault_pass.txt
```
### Add envireonment variable with location of vault password
Add "export ANSIBLE_VAULT_PASSWORD_FILE=~/.vault_pass.txt" to your shell profile.
```bash
ansible-playbook -i inventory.yaml 10-sno-hub-cluster/install.yml
```
### Hub Cluster
You'll need an OpenShift "Hub Cluster" with access to persistant storage.

2
inventory.yml Normal file
View File

@@ -0,0 +1,2 @@
[default]
localhost