diff options
author | Ludovit Mikula <ludovit.mikula@pantheon.tech> | 2019-02-06 15:47:23 +0100 |
---|---|---|
committer | Ľudovít Mikula <ludovit.mikula@pantheon.tech> | 2019-04-09 15:10:12 +0200 |
commit | 374ea2f45d17f361aa612becba657ecaade0d0b5 (patch) | |
tree | ca29e9c804c52aa14cc577299443958491f4e994 /resources/tools/vagrant/ansible/roles/common/tasks | |
parent | 42e6c422a5ce4f58813a8c3a44ba0e9ac9238c9a (diff) |
Add vagrant setup for testing VPP device locally
Fixed trailing whitespaces
Fixed tabs vs. spaces
Removed dead code
Changed network interface naming
Changed default number of retries for VPP startup to 120
Updated number of hugepages during provisioning
Externalized CSIT related sysctl settings to 90-csit.conf
Removed hardcoded local docker image name.
Added new interface required for honeycomb device testing.
Change-Id: I5eb38c8b1a4d96e4220dbd2e202e94f1d47e804e
Signed-off-by: Ludovit Mikula <ludovit.mikula@pantheon.tech>
Diffstat (limited to 'resources/tools/vagrant/ansible/roles/common/tasks')
-rw-r--r-- | resources/tools/vagrant/ansible/roles/common/tasks/main.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/resources/tools/vagrant/ansible/roles/common/tasks/main.yml b/resources/tools/vagrant/ansible/roles/common/tasks/main.yml new file mode 100644 index 0000000000..d5857da05c --- /dev/null +++ b/resources/tools/vagrant/ansible/roles/common/tasks/main.yml @@ -0,0 +1,22 @@ +--- +# file: common/tasks/main.yml + +- name: Update and upgrade system packages and update cache if it's older then 1 hour + apt: + upgrade: dist + cache_valid_time: 3600 + +- name: Install required common system packages + apt: + name: + - apt-transport-https + - ca-certificates + - curl + - software-properties-common + state: latest + +- name: Set /bin/sh to bash instead of dash + alternatives: + name: sh + link: /bin/sh + path: /bin/bash
\ No newline at end of file |