Cannot change the network of VM NIC's profle using ansible playbook

Solution Verified - Updated -

Issue

  • Using below task to change the VMs NIC using ovirt_nic module.
      - name: Correct Network Profile
        ovirt_nics:
          auth: ""
          state: plugged
          vm: RHEL7.4
          name: nic1
          profile: test
          network: test
  • Although Ansible playbook output is showing as changed, it's not reflecting in the manager.

Environment

  • Red Hat Virtualization 4.1.
  • Ansible 2.3.2.0-2.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content