Hi all,

Is there a way how ti easily iterate over facter_blockdevices?

Example:

      - name: checking disks for failure
        command:  /usr/sbin/smartctl /dev/{{ item }}
        with_items: facter_blockdevices
        register: smart_out

Facts:
"facter_blockdevices": "sda,sdb,sdc,sdd,sde,sdf",

Thanks!

Filip

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/fa84c84b-b4d8-4cd7-a8d7-894df146c8a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to