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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.