xci: install-ansible.sh: Fix distribution detection 09/43809/2
authorMarkos Chandras <mchandras@suse.de>
Mon, 2 Oct 2017 06:39:26 +0000 (07:39 +0100)
committerMarkos Chandras <mchandras@suse.de>
Mon, 2 Oct 2017 06:46:50 +0000 (07:46 +0100)
commit2cb04a2e384e3e25d852616cb9e8f3b355f6fb2d
tree0d5ab33cd00aa66e1b4d3ea7923807688413307c
parent28436eaa0771bd9fb290814960c7b74b2d928696
xci: install-ansible.sh: Fix distribution detection

Relying on the installed package manager to detect the distribution
is not reliable since it's possible to install multiple package managers
at the same time. As such, lets simply use the information in the
os-release files.

Change-Id: Ic170d2aee1398d5c82403c3469365822bf053de7
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/file/install-ansible.sh