Hi,

I was looking for a way to run the distro-dependent package manager w/o too many "when"s and I found this (on https://ansible-tips-and-tricks.readthedocs.io/en/latest/os-dependent-tasks/installing_packages/#installing-packages):

- name: install basic package
  action: >
    {{ ansible_pkg_mgr }} name=vim state=present update_cache=yes

However I cannot find this "action" module mentioned anywhere in the whole Ansible documentation and I also don't understand, why the ">" is needed at that point. Is this an obsolete feature or a very new one, which is not documented yet? What exactly can one do with it?

Cheers
frank


--
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/de4b9065-5145-c32f-24a3-e748b4dc2559%40drosera.ch.
For more options, visit https://groups.google.com/d/optout.

Reply via email to