diff options
author | 2018-09-19 15:05:48 +0000 | |
---|---|---|
committer | 2018-09-24 08:22:10 +0000 | |
commit | 388117d6bfe6f05d3f20d1a7e632076f5526227f (patch) | |
tree | 437fcf7778cf0fd116f94d6621281a4d67fa802f /resources/tools/testbed-setup/ansible/roles/vpp_device/tasks | |
parent | bb0f69d12e0e509c58bb5b8116d73bb585a4ea09 (diff) |
CSIT-1292 Update Ansible playbooks with vpp_device tasks
Change-Id: I22d1fe2fc27d6adb39eba2578e68d06992a3f976
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/vpp_device/tasks')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml new file mode 100644 index 0000000000..d1ede0cfbb --- /dev/null +++ b/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml @@ -0,0 +1,21 @@ +--- +# file: roles/vpp_device/tasks/main.yaml + +- name: Copy csit-initialize-vfs.sh + copy: + src: 'files/csit-initialize-vfs.sh' + dest: '/usr/local/bin/' + owner: 'root' + group: 'root' + mode: '744' + tags: copy-vf-script + +- name: Copy csit-initialize-vfs.service + copy: + src: 'files/csit-initialize-vfs.service' + dest: '/etc/systemd/system/' + owner: 'root' + group: 'root' + mode: '644' + notify: ['Enable csit-initialize-vfs.service'] + tags: copy-vf-service |