mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
21 lines
498 B
YAML
21 lines
498 B
YAML
|
---
|
||
|
|
||
|
- name: install sops release
|
||
|
apt:
|
||
|
deb: https://github.com/mozilla/sops/releases/download/v3.5.0/sops_3.5.0_amd64.deb
|
||
|
|
||
|
- name: install gnupg2
|
||
|
apt:
|
||
|
package: gnupg2
|
||
|
|
||
|
- name: download sops test GPG key
|
||
|
get_url:
|
||
|
url: https://raw.githubusercontent.com/mozilla/sops/master/pgp/sops_functional_tests_key.asc
|
||
|
dest: /tmp/sops_functional_tests_key.asc
|
||
|
|
||
|
- name: import sops test GPG key
|
||
|
command: gpg --import /tmp/sops_functional_tests_key.asc
|
||
|
|
||
|
- set_fact:
|
||
|
sops_installed: yes
|