# ManageIQ Ansible Modules

## ManageIQ Ansible Modules

There are several ManageIQ-related modules and roles that can be used with Ansible 2.4 that is supplied with CloudForms 4.6.

### Ansible 2.4 Compatible Modules

The following modules are supplied with Ansible 2.4 and later:

#### manageiq\_provider

The [manageiq\_provider](http://docs.ansible.com/ansible/latest/modules/manageiq_provider_module.html) module supports adding, updating, and deleting providers in CloudForms/ManageIQ.

#### manageiq\_user

The [manageiq\_user](http://docs.ansible.com/ansible/latest/modules/manageiq_user_module.html) module supports adding, updating and deleting users in CloudForms/ManageIQ.

### Ansible 2.4 Compatible Roles

The following Galaxy roles are compatible with Ansible 2.4 and later:

#### manageiq-vmdb <a href="#manageiq_vmdb" id="manageiq_vmdb"></a>

The [manageiq-vmdb](https://galaxy.ansible.com/syncrou/manageiq-vmdb) role allows for users of CloudForms/ManageIQ to modify and/or change VMDB objects via an Ansible Playbook.

#### manageiq-automate <a href="#manageiq_automate" id="manageiq_automate"></a>

The [manageiq-automate](https://galaxy.ansible.com/syncrou/manageiq-automate) role allows for users of CloudForms/ManageIQ Automate to modify and add to the Automate Workspace via an Ansible Playbook.

These roles are very useful when using Embedded Ansible playbook methods.

### Ansible 2.5 Compatible Modules

The following modules are supplied with Ansible 2.5, and so will be compatible with the version of Ansible supplied with a future version of CloudForms/ManageIQ:

The [manageiq\_alert\_profiles](http://docs.ansible.com/ansible/latest/modules/manageiq_alert_profiles_module.html) module supports adding, updating and deleting alert profiles in CloudForms/ManageIQ.

The [manageiq\_alerts](http://docs.ansible.com/ansible/latest/modules/manageiq_alerts_module.html) module supports adding, updating and deleting alerts in CloudForms/ManageIQ.

The [manageiq\_policies](http://docs.ansible.com/ansible/latest/modules/manageiq_policies_module.html) module supports adding and deleting policy\_profiles in CloudForms/ManageIQ.

The [manageiq\_tags](http://docs.ansible.com/ansible/latest/modules/manageiq_tags_module.html) module supports adding, updating and deleting tags in CloudForms/ManageIQ.

## Further Reading

[Examples of Using the manageiq-vmdb and manage-automate Roles](https://github.com/billfitzgerald0120/ansible_playbooks)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manageiq.gitbook.io/mastering-cloudforms-automation-addendum/embedded_ansible/chapter-5.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
