summaryrefslogtreecommitdiffstats
path: root/ansible/roles/download_trex
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/download_trex')
-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 }}"