I am trying to come up with a task that will step through the drives it 
finds from win_disk_facts and init them. This is my attempt so far. Any 
help would be appreciated.

- name: Get disk facts
  community.windows.win_disk_facts:


- name: Print out disks! 
  community.windows.win_initialize_disk:
  loop: "{{ ansible_facts.disks }}"
  loop_control:
    loop_var: disk.number

- AJ

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7bf537f0-6b9f-47f5-95b0-0729a7f98137n%40googlegroups.com.

Reply via email to