# Unsupported parameters for (yum) module: enabled

**URL:** <https://forum.ansible.com/t/unsupported-parameters-for-yum-module-enabled/33038>\
**Category:** Ansible Project\
**Created:** [May 28, 2020, 1:16pm UTC](https://forum.ansible.com/t/unsupported-parameters-for-yum-module-enabled/33038 "2020-05-28T13:16:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarang\_khulape](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@sarang\_khulape](https://forum.ansible.com/u/sarang_khulape)\
**Post date:** [May 28, 2020, 1:16pm UTC](https://forum.ansible.com/t/unsupported-parameters-for-yum-module-enabled/33038/1 "2020-05-28T13:16:27Z")

</div>

tasks:

- name: Start and enable vmtoolsd

yum: name=vmtoolsd state=started enabled=yes

How to resolve below error ?

fatal: [\<IP\_ADDRESS\>]: FAILED! =\> {“changed”: false, “msg”: “Unsupported parameters for (yum) module: enabled Supported parameters include: allow\_downgrade, autoremove, bugfix, conf\_file, disable\_excludes, disable\_gpg\_check, disable\_plugin, disablerepo, download\_dir, download\_only, enable\_plugin, enablerepo, exclude, install\_repoquery, install\_weak\_deps, installroot, list, lock\_timeout, name, releasever, security, skip\_broken, state, update\_cache, update\_only, use\_backend, validate\_certs”}

---

<div class="post-metadata">

**Author:** ![racke](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/racke/32/4767_2.png) [@racke](https://forum.ansible.com/u/racke)\
**Post date:** [May 28, 2020, 1:19pm UTC](https://forum.ansible.com/t/unsupported-parameters-for-yum-module-enabled/33038/2 "2020-05-28T13:19:49Z")

</div>

> tasks:  
> - name: Start and enable vmtoolsd  
> yum: name=vmtoolsd state=started enabled=yes
> 
> How to resolve below error ?
> 
> fatal: [\<IP\_ADDRESS\>]: FAILED! =\> {"changed": false, "msg": "Unsupported parameters for (yum) module: enabled Supported  
> parameters include: allow\_downgrade, autoremove, bugfix, conf\_file, disable\_excludes, disable\_gpg\_check, disable\_plugin,  
> disablerepo, download\_dir, download\_only, enable\_plugin, enablerepo, exclude, install\_repoquery, install\_weak\_deps,  
> installroot, list, lock\_timeout, name, releasever, security, skip\_broken, state, update\_cache, update\_only, use\_backend,  
> validate\_certs"}

The yum module installs packages but it is not managing services.

Regards  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Racke

---

<div class="post-metadata">

**Author:** ![sarang\_khulape](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@sarang\_khulape](https://forum.ansible.com/u/sarang_khulape)\
**Post date:** [May 28, 2020, 1:27pm UTC](https://forum.ansible.com/t/unsupported-parameters-for-yum-module-enabled/33038/3 "2020-05-28T13:27:55Z")

</div>

> Thank you Racke for your reply.

> I could solve this by updating the task as below.

tasks

- name: Start and enable vmtoolsd  
**service** : name=vmtoolsd state=started enabled=yes
