that's why I asked what state were you using. Can you di a run with extra verbise?
On Thu, Oct 18, 2018 at 4:54 AM <[email protected]> wrote: > You can use :- > > *- 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* > > > On Thursday, October 18, 2018 at 7:06:50 AM UTC+5:30, Chad Fay wrote: >> >> 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 [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/6b62d8a6-1e58-4a96-b74a-726037cfefd7%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/6b62d8a6-1e58-4a96-b74a-726037cfefd7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jonathan lozada de la matta AUTOMATION PRACTICE -- 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/CAFYJA%2BJmhUw99svWL%3Do2bzmuyox%3DR2LaHuxevq00a9GUN0Le3Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
