summaryrefslogtreecommitdiffstats
path: root/vagrant/ansible/roles/client.test.prep/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vagrant/ansible/roles/client.test.prep/tasks/main.yml')
-rw-r--r--vagrant/ansible/roles/client.test.prep/tasks/main.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/vagrant/ansible/roles/client.test.prep/tasks/main.yml b/vagrant/ansible/roles/client.test.prep/tasks/main.yml
new file mode 100644
index 0000000..307590a
--- /dev/null
+++ b/vagrant/ansible/roles/client.test.prep/tasks/main.yml
@@ -0,0 +1,19 @@
+---
+- name: Fetch the latest samba-integration-tests repo
+ git:
+ repo: 'https://github.com/gluster/samba-integration.git'
+ version: tests
+ dest: /root/samba-integration-tests
+
+- name: Create a symlink for test-info.yml file
+ file:
+ src: /root/test-info.yml
+ dest: /root/samba-integration-tests/test-info.yml
+ owner: root
+ group: root
+ state: link
+
+- name: Run tests
+ command:
+ chdir: /root/samba-integration-tests
+ cmd: make test