Variable structure finalized
This commit is contained in:
@@ -3,7 +3,6 @@
|
|||||||
hosts: 127.0.0.1
|
hosts: 127.0.0.1
|
||||||
connection: local
|
connection: local
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
#vars_files: ../vars.yml
|
|
||||||
|
|
||||||
vars_prompt:
|
vars_prompt:
|
||||||
- name: freeipa_password
|
- name: freeipa_password
|
||||||
|
|||||||
17
README.md
17
README.md
@@ -40,6 +40,23 @@ For the sake of this documentation we'll assume the following:
|
|||||||
|
|
||||||
## Getting Started
|
## 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
|
### Hub Cluster
|
||||||
|
|
||||||
You'll need an OpenShift "Hub Cluster" with access to persistant storage.
|
You'll need an OpenShift "Hub Cluster" with access to persistant storage.
|
||||||
|
|||||||
2
inventory.yml
Normal file
2
inventory.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[default]
|
||||||
|
localhost
|
||||||
Reference in New Issue
Block a user