tenks/ansible/roles/virtualbmc-daemon
Will Szumski 8e2f8a3ecb Fix ansible lint and ubuntu deployment
This patch combines two different fixes, since both are required to get
CI tests passing.

1. Fix ansible lint 301 with ip link set dev <device> up

This resolves:

[301] Commands should not change things if nothing needs doing
/home/will/code/tenks/ansible/roles/veth-pair/tasks/present.yml:13
Task/Handler: Bring each end of veth up

ip link set dev <device> up is idempotent:

707f612c00/ip/iplink.c (L264)
63bdf4284c/net/core/rtnetlink.c (L2485)
63bdf4284c/net/core/dev.c (L7632)
63bdf4284c/net/core/dev.c (L7563)

2. Add pkg-config as an explicit dependency

This is to fix the following error:

Exception: pkg-config binary is required to compile libvirt-python

TrivialFix

Change-Id: I9a2db7b5f2cbdcb64227bd4f1de245bcb7f71f5b
2019-03-12 09:18:10 +00:00
..
defaults Changes to support standalone ironic 2018-12-20 09:48:21 +00:00
files Split Virtual BMC role into two 2018-08-29 10:45:52 +00:00
tasks Fix ansible-lint nits 2018-12-19 18:55:36 +00:00
templates Changes to support standalone ironic 2018-12-20 09:48:21 +00:00
vars Fix ansible lint and ubuntu deployment 2019-03-12 09:18:10 +00:00
README.md Changes to support standalone ironic 2018-12-20 09:48:21 +00:00

README.md

Virtual BMC Daemon

This role sets up the Virtual BMC daemon in systemd.

Requirements

  • systemd

Role Variables

  • vbmcd_virtualenv_path: The path to the virtualenv in which to install Virtual BMC.
  • vbmcd_python_upper_constraints_url: The URL of the upper constraints file to pass to pip when installing Python packages.
  • vbmcd_args: Arguments to pass to the Virtual BMC daemon.