stackhpc/ansible-role-libvirt-host

Required packages not installed by role

Opened this issue · 1 comments

Just reporting after having finished provisioning using this role.
I had to add the following section to the task provisioning vm hosts:

  pre_tasks:
    - name: VM hosts required packages
      apt:
        pkg:
          - python3-libvirt
          - python3-lxml

This is ubuntu 18.04 network install with sshd only. The host provisioning step is preceded by some general configuration, including installing some packages already, so I'm not sure if these two are all that is needed.

If these are not installed, various steps within the role will fail at some point or another.

I think this should be addressed by https://github.com/stackhpc/ansible-role-libvirt-host/pull/26/files. In the mean time, you could try setting libvirt_host_python3: true.