Ansible: iavf driver install
[csit.git] / fdio.infra.ansible / roles / vpp_device / tasks / main.yaml
index aa381f6..d12fe1e 100644 (file)
@@ -35,7 +35,7 @@
 
 - name: Disable IPv6 MLDv1 interval
   sysctl:
-    name: "net.ipv6.conf.all.mldv1_unsolicited_report_interval=0"
+    name: "net.ipv6.conf.all.mldv1_unsolicited_report_interval"
     value: "0"
     state: "present"
     sysctl_file: "/etc/sysctl.d/90-csit.conf"
@@ -45,7 +45,7 @@
 
 - name: Disable IPv6 MLDv2 interval
   sysctl:
-    name: "net.ipv6.conf.all.mldv2_unsolicited_report_interval=0"
+    name: "net.ipv6.conf.all.mldv2_unsolicited_report_interval"
     value: "0"
     state: "present"
     sysctl_file: "/etc/sysctl.d/90-csit.conf"
@@ -55,7 +55,7 @@
 
 - name: Disable IPv6 Autoconf
   sysctl:
-    name: "net.ipv6.conf.all.autoconf=0"
+    name: "net.ipv6.conf.all.autoconf"
     value: "0"
     state: "present"
     sysctl_file: "/etc/sysctl.d/90-csit.conf"
@@ -65,7 +65,7 @@
 
 - name: Disable IPv6 MC Forwarding
   sysctl:
-    name: "net.ipv6.conf.all.mc_forwarding=0"
+    name: "net.ipv6.conf.all.mc_forwarding"
     value: "0"
     state: "present"
     sysctl_file: "/etc/sysctl.d/90-csit.conf"
     - "Update GRUB"
   tags:
     - set-grub
-
-- name: Download iAVF driver
-  get_url:
-    url: "{{ iavf_url }}"
-    dest: "{{ iavf_target_dir }}/iavf-{{ iavf_version }}.tar.gz"
-    validate_certs: False
-    mode: 0644
-  tags:
-    - install-iavf
-
-- name: Extract iAVF driver
-  unarchive:
-    remote_src: true
-    src: "{{ iavf_target_dir }}/iavf-{{ iavf_version }}.tar.gz"
-    dest: "{{ iavf_target_dir }}/"
-    creates: "{{ iavf_target_dir }}/iavf-{{ iavf_version }}/src/"
-  tags:
-    - install-iavf
-
-- name: Compile iAVF driver
-  command: "make install"
-  args:
-      chdir: "{{ iavf_target_dir }}/iavf-{{ iavf_version }}/src/"
-  notify:
-    - "Reboot server"
-  tags:
-    - install-iavf
-
-- meta: flush_handlers