community.sops.install role – Install SOPS
Note
This role is part of the community.sops collection (version 2.2.4).
You might already have this collection installed if you are using the ansible package.
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, and- ansible_facts.os_familyare expected to be present if- sops_install_on_localhostis- false.
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:  | 
Attributes
| Attribute | Support | Description | 
|---|---|---|
| Support: none The role currently does not work in check mode. | Can run in  | |
| Support: partial The role supports diff mode if the ansible.builtin.package action for the system supports it. | Will return details on what has changed (or possibly needs changing in  | |
| Support: partial The role is idempotent if the ansible.builtin.package action for the system is idempotent. This is usually the case, but if packages need to be installed from GitHub (that is, through an URL), idempotence might not hold. | When run twice in a row outside check mode, with the same arguments, the second invocation indicates no change. This assumes that the system controlled/queried by the module has not changed in a relevant way. | |
| Platforms: 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 | Target OS/families that can be operated against. | 
