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
This commit is contained in:
Jimmy McCrory 2016-08-23 14:42:21 -07:00
parent 9b8832ef50
commit 697fde77f6

View File

@ -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