]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Fix "Unsupported parameters for (stat) module: get_md5" 756/head
authorVallari Agrawal <val.agl002@gmail.com>
Mon, 20 May 2024 03:34:39 +0000 (09:04 +0530)
committerVallari Agrawal <val.agl002@gmail.com>
Mon, 20 May 2024 06:53:21 +0000 (12:23 +0530)
Remove get_md5 because it was removed in ansible 2.9:
https://github.com/ansible-community/ansible-build-data/blob/0dee49ac8a7674153606ddc6432d4029eb20172d/9/CHANGELOG-v9.rst#L5195

fixes: https://tracker.ceph.com/issues/66106

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
roles/cobbler_profile/tasks/download_image.yml
roles/cobbler_profile/tasks/download_iso.yml
roles/pulpito/tasks/main.yml
roles/pulpito/tasks/setup_pulpito.yml
roles/testnode/tasks/resolvconf.yml

index 17b1a7337274336969fcc7373e299e43242250d8..b35820880e37635afcd374973ee2d33c7d45ecfe 100644 (file)
@@ -1,10 +1,10 @@
 ---
 - name: Check to see if the kernel exists
-  stat: path={{ kernel_path }} get_checksum=no get_md5=no
+  stat: path={{ kernel_path }} get_checksum=no
   register: kernel_stat
 
 - name: Check to see if the initrd exists
-  stat: path={{ initrd_path }} get_checksum=no get_md5=no
+  stat: path={{ initrd_path }} get_checksum=no
   register: initrd_stat
 
 - name: Download kernel
index 66ef6921e753131f8b706196b189da9dfad5ab14..0bc5d714e5a497b3e5471c96765b0b32c42c13b2 100644 (file)
@@ -1,6 +1,6 @@
 ---
 - name: Check to see if the ISO exists
-  stat: path={{ iso_path }} get_checksum=no get_md5=no
+  stat: path={{ iso_path }} get_checksum=no
   register: iso_stat
 
 - name: Download ISO
index ea4f8614fdc10ea27c4fe571043010a6beb382cf..e90f7f8392b106da22b27ddabae0caaf938711b6 100644 (file)
@@ -43,7 +43,6 @@
   stat:
     path: "{{ supervisor_conf_path }}"
     get_checksum: no
-    get_md5: no
   register: supervisor_conf
 
 - name: Copy supervisord config
index f9ea51bac49b185d662f69874f8f0474ebcaadb2..71db346e46b52a785c867651904ca473526fd6be 100644 (file)
@@ -28,7 +28,6 @@
   stat: 
     path: "{{ pulpito_repo_path }}/virtualenv"
     get_checksum: no
-    get_md5: no
   register: virtualenv
 
 - name: Create the virtualenv
@@ -56,7 +55,6 @@
   stat:
     path: "{{ pulpito_repo_path }}/prod.py"
     get_checksum: no
-    get_md5: no
   register: pulpito_config
 
 - name: Copy pulpito config
index f435af29a7fcd5bfa501bb8b5e037477871b69d5..eb12133ad928e55d61cf083a3b730b565a78b827 100644 (file)
@@ -14,7 +14,6 @@
   stat:
     path: /etc/network/interfaces
     get_checksum: no
-    get_md5: no
   register: etc_network_interfaces
 
 - name: Rewrite /etc/network/interfaces to use dhcp