From d218d7927ddebf44e5fd69c8a751b907217f4374 Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Wed, 27 Nov 2024 16:50:27 +0100 Subject: [PATCH] Cleanup tee --- README.md | 5 ++++- tasks/repository.yml | 2 +- vars/main.yml | 1 - 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fb62ff1..6c852e4 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,10 @@ Set up [vagrant](https://www.vagrantup.com/) in Debian-like systems. #### Requirements -None +* `software-properties-common` (will be installed) +* `dirmngr` (will be installed) +* `apt-transport-https` (will be installed) +* `wget` (will be installed) #### Variables diff --git a/tasks/repository.yml b/tasks/repository.yml index dd5b988..a154ff6 100644 --- a/tasks/repository.yml +++ b/tasks/repository.yml @@ -21,7 +21,7 @@ - name: repository | (keyring) file | download # noqa command-instead-of-module risky-shell-pipe ansible.builtin.shell: > - wget -O- {{ vagrant_keyring_src }} | gpg --dearmor | tee {{ vagrant_keyring_dst }} > /dev/null + wget -O- {{ vagrant_keyring_src }} | gpg --dearmor --yes --output {{ vagrant_keyring_dst }} args: creates: "{{ vagrant_keyring_dst }}" tags: diff --git a/vars/main.yml b/vars/main.yml index dc0c35e..515cf09 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -12,7 +12,6 @@ vagrant_dependencies_pre: - dirmngr - apt-transport-https - wget - - coreutils vagrant_dependencies: - vagrant