# Module yum and package?

**URL:** <https://forum.ansible.com/t/module-yum-and-package/31062>\
**Category:** Ansible Project\
**Created:** [August 16, 2019, 7:06pm UTC](https://forum.ansible.com/t/module-yum-and-package/31062 "2019-08-16T19:06:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Eggleston](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@Mike\_Eggleston](https://forum.ansible.com/u/Mike_Eggleston)\
**Post date:** [August 16, 2019, 7:06pm UTC](https://forum.ansible.com/t/module-yum-and-package/31062/1 "2019-08-16T19:06:49Z")

</div>

Yum says it will do a wild card on the update (equivalent to “yum update”). Will the module “package” also do a wildcard?

Mike

---

<div class="post-metadata">

**Author:** ![Mike\_Eggleston](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@Mike\_Eggleston](https://forum.ansible.com/u/Mike_Eggleston)\
**Post date:** [August 16, 2019, 7:11pm UTC](https://forum.ansible.com/t/module-yum-and-package/31062/2 "2019-08-16T19:11:31Z")

</div>

I’m trying a test. I have:

tasks:  
&nbsp;&nbsp;- name: update packages  
&nbsp;&nbsp;&nbsp;&nbsp;package:  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name: ‘\*’  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;state: latest

And executed as:  
ansible-playbook -u root -k —limit host yum.yml

and get:  
fatal: [host]: FAIKED! =\> {“msg”: “module (yum) is missing interpreter line”}

Mike
