patched compute node to work with multiple 40G interfaces and fixed the version of MAAS

Change-Id: If4f8f3384133d67da98073a257954f6ed9cd8221
diff --git a/roles/compute-node/tasks/main.yml b/roles/compute-node/tasks/main.yml
index b63bb84..4c718cc 100644
--- a/roles/compute-node/tasks/main.yml
+++ b/roles/compute-node/tasks/main.yml
@@ -93,7 +93,7 @@
 - name: Verify i40e Driver
   command: modinfo --field=version i40e
   register: i40e_version
-  when: intel_nic_present.stdout == "1"
+  when: intel_nic_present.stdout != "0"
   changed_when: False
   failed_when: False
   tags:
@@ -102,7 +102,7 @@
 - name: Verify mlx4 Driver
   command: modinfo --field=version mlx4_core
   register: mlx4_version
-  when: mlx_nic_present.stdout == "1"
+  when: mlx_nic_present.stdout != "0"
   changed_when: False
   failed_when: False
   tags:
@@ -110,13 +110,13 @@
 
 - name: Update mlx4 Driver
   include: tasks/mlx4_driver.yml
-  when: mlx_nic_present.stdout == "1" and mlx4_version.stdout != '3.1-1.0.4'
+  when: mlx_nic_present.stdout != "0" and mlx4_version.stdout != '3.1-1.0.4'
   tags:
     - interface_config
 
 - name: Update i40e Driver
   include: tasks/i40e_driver.yml
-  when: intel_nic_present.stdout == "1" and i40e_version.stdout != '1.4.25'
+  when: intel_nic_present.stdout != "0" and i40e_version.stdout != '1.4.25'
   tags:
     - interface_config
 
diff --git a/roles/maas/tasks/main.yml b/roles/maas/tasks/main.yml
index a99abcb..0a90da8 100644
--- a/roles/maas/tasks/main.yml
+++ b/roles/maas/tasks/main.yml
@@ -61,8 +61,8 @@
 - name: MAAS
   become: yes
   apt:
-    name: maas
-    state: latest
+    name: maas=1.9.3*
+    state: present
     force: yes
     update_cache: yes
     allow_unauthenticated: yes