aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/download_trex/tasks/main.yml
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-04-27 08:55:37 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-04-27 08:55:37 +0000
commitd379bd07e1903a0abe3337675a274e8bc8136ecd (patch)
tree69fffd0e69f7f4294d266dbb38b2fbc81c893bfe /ansible/roles/download_trex/tasks/main.yml
parentb338d3091bb0beb89d4ad9f7c144f43a31a19a74 (diff)
parent0b976dd02421a181674acc837127ac741ccfccea (diff)
Merge "Migrate install.sh script to ansible"
Diffstat (limited to 'ansible/roles/download_trex/tasks/main.yml')
-rw-r--r--ansible/roles/download_trex/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/download_trex/tasks/main.yml b/ansible/roles/download_trex/tasks/main.yml
index baa964fd8..9df67d939 100644
--- a/ansible/roles/download_trex/tasks/main.yml
+++ b/ansible/roles/download_trex/tasks/main.yml
@@ -12,6 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
+- name: make sure trex_dest exists
+ file:
+ path: "{{ trex_dest }}"
+ state: directory
+
- name: fetch Trex
get_url:
url: "{{ trex_url }}"