aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/vagrant/tasks
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-08-18 12:04:27 +0000
committerpmikus <pmikus@cisco.com>2021-08-18 12:04:27 +0000
commitd41a5490f30a161561c39c4f1b08add17b9cf6f7 (patch)
tree4244f8492f66f5ba1afe1c85c3a55340b125c8f7 /fdio.infra.ansible/roles/vagrant/tasks
parenta24c98b45ca1e9d56039d7649f65ac31e006d949 (diff)
Infra: Ansible yaml lint cleanup
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: If00b376bd78b7b603d7887c1e149e7dccdb6d217
Diffstat (limited to 'fdio.infra.ansible/roles/vagrant/tasks')
-rw-r--r--fdio.infra.ansible/roles/vagrant/tasks/main.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/fdio.infra.ansible/roles/vagrant/tasks/main.yml b/fdio.infra.ansible/roles/vagrant/tasks/main.yml
index fa4ab4af9a..14e919cb31 100644
--- a/fdio.infra.ansible/roles/vagrant/tasks/main.yml
+++ b/fdio.infra.ansible/roles/vagrant/tasks/main.yml
@@ -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:
@@ -31,12 +31,12 @@
git:
repo: "{{ csit.repository.url }}"
dest: "{{ csit.home }}"
- accept_hostkey: yes
+ 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