- shell: alternatives --display {{ item }} | grep "best" | grep 
"jre1.7.0_75"
  sudo: yes
  register: "{{ item }}"
  ignore_errors:
  with_items:
    - java
    - javaws
    - jcontrol

I've tried several iterations of this, all fail. Is there any way this can 
work? I don't want to have to create 3 individual plays for each item. I 
have a much longer check coming up - like 25+ checks - and that will suck 
if I can't do something like the above.

-- 
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 post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7a186d72-5bba-4f34-b7bc-3ecb0441843f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to