Hi, is there a better way for this than to use shell+register?
- name: get ansible version
shell: ansible --version|head -1|cut -d" " -f2
delegate_to: 127.0.0.1
register: ansibleversion
thanks,
nusenu
--
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/0c0e9442-0af6-c5f0-4266-65921f341bbd%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
