From ce55e0faf5911d267fc7c649ff3d6304657ccb25 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Tue, 13 Jun 2023 08:17:42 -0700 Subject: [PATCH] Update example in apt_key module (#81017) * Verify checksum of downloaded key Fixes: #79892 Signed-off-by: Abhijeet Kasurde --- lib/ansible/modules/apt_key.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/apt_key.py b/lib/ansible/modules/apt_key.py index 4b84cb2e48b..bab8a35d9a5 100644 --- a/lib/ansible/modules/apt_key.py +++ b/lib/ansible/modules/apt_key.py @@ -89,6 +89,7 @@ EXAMPLES = ''' ansible.builtin.get_url: url: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x36a1d7869245c8950f966e92d8576a8ba88d21e9 dest: /etc/apt/keyrings/myrepo.asc + checksum: sha256:bb42f0db45d46bab5f9ec619e1a47360b94c27142e57aa71f7050d08672309e0 - name: somerepo | apt source ansible.builtin.apt_repository: