mirror of
https://github.com/Infisical/ansible-collection.git
synced 2025-08-10 08:04:28 -07:00
docs: update README
This commit is contained in:
parent
69bd9d5987
commit
93ce7b1a7a
1 changed files with 5 additions and 2 deletions
|
@ -9,7 +9,7 @@ Tested with the Ansible Core >= 2.12.0 versions, and the current development ver
|
|||
|
||||
## Python version compatibility
|
||||
|
||||
This collection depends on the Infisical SDK for Python.
|
||||
This collection depends on the [Infisical SDK for Python](https://github.com/Infisical/python-sdk-official).
|
||||
|
||||
Requires Python 3.7 or greater.
|
||||
|
||||
|
@ -22,7 +22,7 @@ You can install the Infisical collection with the Ansible Galaxy CLI:
|
|||
The python module dependencies are not installed by `ansible-galaxy`. They can
|
||||
be manually installed using pip:
|
||||
|
||||
pip install infisical-python
|
||||
pip install infisicalsdk
|
||||
|
||||
## Using this collection
|
||||
|
||||
|
@ -34,6 +34,9 @@ vars:
|
|||
read_all_secrets_within_scope: "{{ lookup('infisical.vault.read_secrets', universal_auth_client_id='<>', universal_auth_client_secret='<>', project_id='<>', path='/', env_slug='dev', url='https://spotify.infisical.com') }}"
|
||||
# [{ "key": "HOST", "value": "google.com" }, { "key": "SMTP", "value": "gmail.smtp.edu" }]
|
||||
|
||||
read_all_secrets_within_scope_filtred_by_tags: "{{ lookup('infisical_vault', universal_auth_client_id='<>', universal_auth_client_secret='<>', project_id='<>', path='/', env_slug='dev', url='https://spotify.infisical.com', tags=['smtp']) }}"
|
||||
# [{ "key": "SMTP", "value": "gmail.smtp.edu" }]
|
||||
|
||||
read_secret_by_name_within_scope: "{{ lookup('infisical.vault.read_secrets', universal_auth_client_id='<>', universal_auth_client_secret='<>', project_id='<>', path='/', env_slug='dev', secret_name='HOST', url='https://spotify.infisical.com') }}"
|
||||
# [{ "key": "HOST", "value": "google.com" }]
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue