tenks/ansible/roles/veth-pair/tasks
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
..
absent.yml Remove dependency on bridge-utils 2018-11-08 15:15:30 +00:00
is-attached.yml Remove dependency on bridge-utils 2018-11-08 15:15:30 +00:00
main.yml Fix veth-pair role for teardown 2018-09-10 14:45:37 +00:00
present.yml Fix ansible lint and ubuntu deployment 2019-03-12 09:18:10 +00:00