Verified Commit f7195c8f authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Add a check if moreutils is installed

parent b07bd068
Pipeline #380 passed with stage
in 41 seconds
......@@ -2,6 +2,9 @@
- name: reencrypt vault key
hosts: 127.0.0.1
tasks:
- name: check if moreutils is installed
pacman: name=moreutils state=present
- name: reencrypt vault key
shell: set -o pipefail && gpg --decrypt --batch --quiet "{{ playbook_dir }}/../../misc/vault-password.gpg" | gpg --batch --armor --encrypt --output - {% for userid in root_gpgkeys %}--recipient {{ userid }} {% endfor %} | sponge "{{ playbook_dir }}/../../misc/vault-password.gpg"
changed_when: false
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment