https://github.com/infisical/ansible-collection
This collection provides a series of Ansible modules and plugins for interacting with the Infisical.
https://github.com/infisical/ansible-collection
Last synced: 9 months ago
JSON representation
This collection provides a series of Ansible modules and plugins for interacting with the Infisical.
- Host: GitHub
- URL: https://github.com/infisical/ansible-collection
- Owner: Infisical
- Created: 2023-10-26T03:31:08.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-23T22:42:09.000Z (12 months ago)
- Last Synced: 2025-04-03T13:48:46.607Z (10 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Infisical Collection
This Ansible Infisical collection includes a variety of Ansible content to help automate the management of Infisical services. This collection is maintained by the Infisical team.
[View full documentation](https://galaxy.ansible.com/ui/repo/published/infisical/vault/)
## Ansible version compatibility
Tested with the Ansible Core >= 2.12.0 versions, and the current development version of Ansible. Ansible Core versions prior to 2.12.0 have not been tested.
## Python version compatibility
This collection depends on the Infisical SDK for Python.
Requires Python 3.7 or greater.
## Installing this collection
You can install the Infisical collection with the Ansible Galaxy CLI:
ansible-galaxy collection install infisical.vault
The python module dependencies are not installed by `ansible-galaxy`. They can
be manually installed using pip:
pip install infisical-python
## Using this collection
You can either call modules by their Fully Qualified Collection Name (FQCN), such as `infisical.vault.read_secrets`, or you can call modules by their short name if you list the `infisical.vault` collection in the playbook's `collections` keyword:
```yaml
---
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_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" }]
```