I'm new at this, I'm trying to figure out how to pass the -y flag when I am installing with the yum module. I've tried pkg=<package_name> -y but that doesn't work. I'm obviously doing something completely wrong, I'm just not sure what.Thank you.
--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/158ec18b-ddcb-4577-9619-da12621eb9ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jonathan lozada de la matta
AUTOMATION PRACTICE
- name: install the latest version of <package_name> yum: name: <package_name> state: latest
OR
- name: install one specific version of <package_name> yum: name: <package_name>-2.9.amzn1 state: present
--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6b62d8a6-1e58-4a96-b74a-726037cfefd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.