diff --git a/10-sno-hub-cluster/install.yml b/10-sno-hub-cluster/install.yml index 054a7b3..00c0df2 100644 --- a/10-sno-hub-cluster/install.yml +++ b/10-sno-hub-cluster/install.yml @@ -3,7 +3,6 @@ hosts: 127.0.0.1 connection: local gather_facts: true - #vars_files: ../vars.yml vars_prompt: - name: freeipa_password diff --git a/README.md b/README.md index 3b82123..7d49aab 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/group_vars/all.yml b/group_vars/all/vars similarity index 100% rename from group_vars/all.yml rename to group_vars/all/vars diff --git a/group_vars/vault.yml b/group_vars/all/vault similarity index 100% rename from group_vars/vault.yml rename to group_vars/all/vault diff --git a/inventory.yml b/inventory.yml new file mode 100644 index 0000000..1ad37c3 --- /dev/null +++ b/inventory.yml @@ -0,0 +1,2 @@ +[default] +localhost