C-Dash: Enable reading of constants from env variables
[csit.git] / fdio.infra.ansible / roles / vagrant / tasks / main.yml
index fa4ab4a..1716ebe 100644 (file)
@@ -8,7 +8,7 @@
     value: "512"
     state: "present"
     sysctl_file: "/etc/sysctl.d/90-csit.conf"
-    reload: yes
+    reload: true
 
 - name: "Add user for running tests: {{ csit.test_user.name }}"
   user:
 - name: Reload groups for current session
   command: "/usr/bin/newgrp docker"
 
-- name: Clone CSIT repository
-  become_user: vagrant
-  git:
-    repo: "{{ csit.repository.url }}"
-    dest: "{{ csit.home }}"
-    accept_hostkey: yes
-    version: "{{ csit.repository.version }}"
+# Disabling CSIT repo cloning in the VM as the repo is synced from the host
+# - name: Clone CSIT repository
+#   become_user: vagrant
+#   git:
+#     repo: "{{ csit.repository.url }}"
+#     dest: "{{ csit.home }}"
+#     accept_hostkey: true
+#     version: "{{ csit.repository.version }}"
 
-- name: Load csit docker image from local drive if it exists (/vagrant/csit-sut.tar)
+- name: Load csit docker image from local path if exists (/vagrant/csit-sut.tar)
   shell: |
     if [ -z "$(docker images -q `cat {{ csit.home }}/VPP_DEVICE_IMAGE`)" ] && [ -e /vagrant/csit-sut.tar ]; then
       docker load -i /vagrant/csit-sut.tar;
     fi;
-  ignore_errors: yes
+  ignore_errors: true