Skip to content

Commit

Permalink
Update install_yamls_setup/README.md
Browse files Browse the repository at this point in the history
Improve explaination about how to use the playbook using Ansible vault.
  • Loading branch information
weinimo committed Dec 4, 2023
1 parent cc71e39 commit c6c7467
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ for integration.
This project aims to follow the
Kubernetes [Operator pattern](https://kubernetes.io/docs/concepts/extend-kubernetes/operator/)

It uses
It uses
[Controllers](https://kubernetes.io/docs/concepts/architecture/controller/)
which provides a reconcile function responsible for synchronizing resources
untile the desired state is reached on the cluster
Expand Down
15 changes: 9 additions & 6 deletions install_yamls_setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ defined:
podman_quayio_user: <user>
podman_quayio_password: <password>

The recommended way to manage those secrets is using `ansible-vault`. Pay attention that
`openshift_pull_secret` needs to be a string and hence the JSON data needs to be put in
quotes.
The recommended way to manage those secrets is using `ansible-vault`. Pay
attention that `openshift_pull_secret` is put in quotes so that the
JSON structure is stored as a string.

## Playbook

The `playbook.yaml` file can be used for running the role. Create an
inventory file (e.g. named `hosts`) to define the host(s). Then run the playbook
like so:
The `playbook.yaml` file can be used for running the role. Create an inventory
file (e.g. named `hosts`) to define the host(s). Then run the playbook like so:

ansible-playbook -i hosts -D playbook.yaml

When using `ansible-vault` for storing secrets, additional vault specific
arguments will need to be provided. When an encrypted variable file is used add
the `-e @<filename>` argument.

0 comments on commit c6c7467

Please sign in to comment.