Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
f7195c8f
Verified
Commit
f7195c8f
authored
Jul 08, 2020
by
Jelle van der Waa
🚧
Browse files
Add a check if moreutils is installed
parent
b07bd068
Pipeline
#380
passed with stage
in 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
playbooks/tasks/reencrypt-vault-key.yml
View file @
f7195c8f
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment