aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/vpp_device
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/vpp_device
parenta24c98b45ca1e9d56039d7649f65ac31e006d949 (diff)
Infra: Ansible yaml lint cleanup
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: If00b376bd78b7b603d7887c1e149e7dccdb6d217
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: