Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required packages not installed by role #29

Open
velis74 opened this issue Feb 18, 2020 · 1 comment
Open

Required packages not installed by role #29

velis74 opened this issue Feb 18, 2020 · 1 comment

Comments

@velis74
Copy link

velis74 commented Feb 18, 2020

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.

@markgoddard
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants