]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
cobbler_profile download_iso.yml: use checksum parameter
authorDan Mick <dmick@redhat.com>
Wed, 3 May 2023 23:26:30 +0000 (16:26 -0700)
committerDan Mick <dmick@redhat.com>
Wed, 3 May 2023 23:26:30 +0000 (16:26 -0700)
sha256sum was deprecated, and disappeared by ansible-core 2.10.
checksum: "sha256:<sum>" is the same.

Signed-off-by: Dan Mick <dmick@redhat.com>
roles/cobbler_profile/tasks/download_iso.yml

index c81d7ffaa8fc92014a20ba8fff4f340de31e5711..66ef6921e753131f8b706196b189da9dfad5ab14 100644 (file)
@@ -7,6 +7,6 @@
   get_url:
       url={{ distro.iso }}
       dest={{ iso_path }}
-      sha256sum={{ distro.sha256 }}
+      checksum=sha256:{{ distro.sha256 }}
   when: profile is defined and profile.stdout == ''
   register: download