aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/vpp_device
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/vpp_device')
-rw-r--r--fdio.infra.ansible/roles/vpp_device/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/vpp_device/handlers/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/vpp_device/tasks/main.yaml40
3 files changed, 22 insertions, 22 deletions
diff --git a/fdio.infra.ansible/roles/vpp_device/defaults/main.yaml b/fdio.infra.ansible/roles/vpp_device/defaults/main.yaml
index d001608c7a..9816d7087c 100644
--- a/fdio.infra.ansible/roles/vpp_device/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/vpp_device/defaults/main.yaml
@@ -3,4 +3,4 @@
iavf_target_dir: "/opt"
iavf_version: "4.1.1"
-iavf_url: "https://downloads.sourceforge.net/project/e1000/iavf%20stable/{{ iavf_version }}/iavf-{{ iavf_version }}.tar.gz?ts=gAAAAABgvfs_L6gSH8B09NfEc8fzoooS3M2wyuOxlFEK5EtTstZWFdb2dYcqJZNqiirAT87dbc3GeJJrRst9KfUgS-byAeyaLw%3D%3D&r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fe1000%2Ffiles%2Fiavf%2520stable%2F{{ iavf_version }}%2Fiavf-{{ iavf_version }}.tar.gz%2Fdownload" \ No newline at end of file
+iavf_url: "https://downloads.sourceforge.net/project/e1000/iavf%20stable/{{ iavf_version }}/iavf-{{ iavf_version }}.tar.gz?ts=gAAAAABgvfs_L6gSH8B09NfEc8fzoooS3M2wyuOxlFEK5EtTstZWFdb2dYcqJZNqiirAT87dbc3GeJJrRst9KfUgS-byAeyaLw%3D%3D&r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fe1000%2Ffiles%2Fiavf%2520stable%2F{{ iavf_version }}%2Fiavf-{{ iavf_version }}.tar.gz%2Fdownload"
diff --git a/fdio.infra.ansible/roles/vpp_device/handlers/main.yaml b/fdio.infra.ansible/roles/vpp_device/handlers/main.yaml
index ee9d368638..29342ae43c 100644
--- a/fdio.infra.ansible/roles/vpp_device/handlers/main.yaml
+++ b/fdio.infra.ansible/roles/vpp_device/handlers/main.yaml
@@ -3,7 +3,7 @@
- name: Start csit-initialize-vfs.service
systemd:
- enabled: yes
+ enabled: true
state: started
name: csit-initialize-vfs.service
tags:
diff --git a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
index 9dbee8d99d..0114b05a40 100644
--- a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
@@ -75,43 +75,43 @@
- name: Copy csit-initialize-vfs.sh
copy:
- src: "files/csit-initialize-vfs.sh"
- dest: "/usr/local/bin/"
- owner: "root"
- group: "root"
- mode: 0744
+ src: "files/csit-initialize-vfs.sh"
+ dest: "/usr/local/bin/"
+ owner: "root"
+ group: "root"
+ mode: 0744
tags:
- copy-vf-script
- name: Copy csit-initialize-vfs-data.sh
copy:
- src: "files/{{ vfs_data_file }}"
- dest: "/usr/local/bin/csit-initialize-vfs-data.sh"
- owner: "root"
- group: "root"
- mode: 0744
+ src: "files/{{ vfs_data_file }}"
+ dest: "/usr/local/bin/csit-initialize-vfs-data.sh"
+ owner: "root"
+ group: "root"
+ mode: 0744
tags: copy-vf-data-script
when:
- vfs_data_file is defined
- name: Copy Default csit-initialize-vfs-data.sh
copy:
- src: "files/csit-initialize-vfs-default.sh"
- dest: "/usr/local/bin/csit-initialize-vfs-data.sh"
- owner: "root"
- group: "root"
- mode: 0744
+ src: "files/csit-initialize-vfs-default.sh"
+ dest: "/usr/local/bin/csit-initialize-vfs-data.sh"
+ owner: "root"
+ group: "root"
+ mode: 0744
tags: copy-vf-data-script
when:
- vfs_data_file is not defined
- name: Start csit-initialize-vfs.service
copy:
- src: "files/csit-initialize-vfs.service"
- dest: "/etc/systemd/system/"
- owner: "root"
- group: "root"
- mode: 0644
+ src: "files/csit-initialize-vfs.service"
+ dest: "/etc/systemd/system/"
+ owner: "root"
+ group: "root"
+ mode: 0644
notify:
- "Start csit-initialize-vfs.service"
tags: