mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
ansible-lint 6.5.0 complains about: name: All names should start with an uppercase letter. (name[casing])
11 lines
488 B
YAML
11 lines
488 B
YAML
- name: Check if moreutils is installed
|
|
pacman: name=moreutils state=present
|
|
|
|
- name: Reencrypt vault {{ vault_id }} key
|
|
shell: |
|
|
set -eo pipefail
|
|
gpg --decrypt --batch --quiet "{{ playbook_dir }}/../../misc/vault-{{ vault_id }}-password.gpg" \
|
|
| gpg --batch --armor --encrypt --output - {% for userid in vault_pgpkeys | flatten %}--recipient {{ userid }} {% endfor %} \
|
|
| sponge "{{ playbook_dir }}/../../misc/vault-{{ vault_id }}-password.gpg"
|
|
changed_when: false
|