Skip to content

Commit bf8c3f6

Browse files
author
Scott Davidson
committed
Use get_url instead of wget
1 parent fcba19e commit bf8c3f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ansible/roles/eessi/tasks/main.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
- name: Download Cern GPG key
3-
command: wget http://cvmrepo.web.cern.ch/cvmrepo/yum/RPM-GPG-KEY-CernVM -O cvmfs-key.gpg
3+
ansible.builtin.get_url:
4+
url: http://cvmrepo.web.cern.ch/cvmrepo/yum/RPM-GPG-KEY-CernVM
5+
dest: ./cvmfs-key.gpg
46

57
- name: Import downloaded GPG key
68
command: rpm --import cvmfs-key.gpg

0 commit comments

Comments
 (0)