Skip to content

Commit

Permalink
Fixing reset controller molecule for idrac storage controller (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
trisha-dell authored Feb 5, 2025
1 parent 6237490 commit 9dd3fd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/idrac_storage_controller/molecule/__fetch_volumes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@
validate_certs: false
target:
- VirtualDisk
when: not ansible_check_mode

- name: Fetch the volume detail
ansible.builtin.set_fact:
cacheable: true
volume_id: "{{ item.Id }}"
loop: "{{ virtual_disk }}"
when: item.Name == "ansible_test"
when: not ansible_check_mode and item.Name == "ansible_test"
no_log: false

- name: Fetch the virtual disks after creation
Expand Down

0 comments on commit 9dd3fd2

Please sign in to comment.