enh: Add variable rescan_scsi_command

This commit is contained in:
Samuel Mutel
2022-04-11 12:02:49 +02:00
parent 1f966d2ea1
commit 6e74c9714e
4 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
changed_when: false
- name: debian | rescanning for new disks added
command: /sbin/rescan-scsi-bus
command: "{{ rescan_scsi_command }}"
become: true
changed_when: false
when: scsi_devices['stdout'] | length