From 238fea93c57111358aac4cb82c0b08c993bcf201 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 17 Dec 2016 16:23:39 +0200 Subject: [PATCH] - Install net-tools for netstat for Testinfra Socket module. --- tests/playbook.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/playbook.yml b/tests/playbook.yml index 1aae1ea..9cba461 100644 --- a/tests/playbook.yml +++ b/tests/playbook.yml @@ -11,3 +11,9 @@ strategy: free roles: - role: dhcp + post_tasks: # For testing. + - name: APT install + when: ansible_pkg_mgr == 'apt' + apt: + name: ['net-tools'] + state: present -- GitLab