From 697fde77f64f84ffd0d89a1172cbfd7912bed033 Mon Sep 17 00:00:00 2001 From: Jimmy McCrory Date: Tue, 23 Aug 2016 14:42:21 -0700 Subject: [PATCH] Provide full path for iptables-clear script Make use of the `playbook_dir` variable to provide the full path to iptables-clear.sh within the test-prepare-host playbook. Change-Id: I9f4cd8856d0e568ce0377e75c6c02df188480e01 --- test-prepare-host.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-prepare-host.yml b/test-prepare-host.yml index 66d806e9..3e0438aa 100644 --- a/test-prepare-host.yml +++ b/test-prepare-host.yml @@ -17,7 +17,7 @@ hosts: localhost pre_tasks: - name: Clear iptables rules - shell: ./iptables-clear.sh + shell: "{{ playbook_dir }}/iptables-clear.sh" - name: Update apt cache apt: update_cache: yes