community.sops.install role – Install SOPS
Note
This role is part of the community.sops collection (version 2.0.0).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it use: ansible-galaxy collection install community.sops
.
To use it in a playbook, specify: community.sops.install
.
Entry point main
– Install SOPS
New in community.sops 1.5.0
Synopsis
This role installs SOPS and GNU Privacy Guard (GPG).
This role supports the following operating systems: Alpine (new enough), Arch Linux, CentOS 7, Stream 8, or newer, Debian 10 (Buster) or newer, Fedora (new enough), RHEL 7 or newer, Ubuntu 16.04 or newer LTS versions
The Ansible facts
ansible_facts.architecture
,ansible_facts.distribution
,ansible_facts.distribution_major_version
,ansible_facts.distribution_version
, andansible_facts.os_family
are expected to be present ifsops_install_on_localhost
isfalse
.
Parameters
Parameter |
Comments |
---|---|
Whether the role should use Choices:
|
|
When installing the latest SOPS version from GitHub, configures how the latest release is detected.
Choices:
|
|
Token to provide when querying the GitHub API for the latest release. Without the token there are rather strict rate limits. Should mainly be used in GitHub Actions. |
|
Installs SOPS on the Ansible controller ( Choices:
|
|
Determines the source from where SOPS is installed. The value The value The value Choices:
|
|
The version of SOPS to install. Should be a version like Default: |