initial commit for CORD-213.
This now works except, do not call your fabric interface the same
as an existing physical interface.
Change-Id: I3cc68ef9d221e05fb5fbe46fb366ea3c6213e3fc
diff --git a/roles/compute-node/tasks/main.yml b/roles/compute-node/tasks/main.yml
index ae8fb7b..31c25ba 100644
--- a/roles/compute-node/tasks/main.yml
+++ b/roles/compute-node/tasks/main.yml
@@ -9,11 +9,12 @@
- name: Applications
become: yes
- apt: name={{ item }} state=latest force=yes
+ apt: name={{ item }} state=latest force=yes
with_items:
- - build-essential
+ - build-essential
- git
- python-pip
+ - ifenslave-2.6
- name: Ensure Docker Ansible Support
become: yes
@@ -110,6 +111,17 @@
tags:
- interface_config
+- name: Load modules at boot
+ become: yes
+ lineinfile:
+ dest: /etc/modules
+ line: "{{ item }}"
+ with_items:
+ - lp
+ - loop
+ - rtc
+ - bonding
+
- name: Reboot Required
become: yes
command: /sbin/reboot