summaryrefslogtreecommitdiff
path: root/roles/load-modules
diff options
context:
space:
mode:
Diffstat (limited to 'roles/load-modules')
-rw-r--r--roles/load-modules/tasks/main.yml5
-rw-r--r--roles/load-modules/tests/inventory2
-rw-r--r--roles/load-modules/tests/test.yml4
3 files changed, 11 insertions, 0 deletions
diff --git a/roles/load-modules/tasks/main.yml b/roles/load-modules/tasks/main.yml
new file mode 100644
index 0000000..c0d93cc
--- /dev/null
+++ b/roles/load-modules/tasks/main.yml
@@ -0,0 +1,5 @@
+- name: modprobe aufs
+ become: true
+ modprobe:
+ name: aufs
+ state: present
diff --git a/roles/load-modules/tests/inventory b/roles/load-modules/tests/inventory
new file mode 100644
index 0000000..878877b
--- /dev/null
+++ b/roles/load-modules/tests/inventory
@@ -0,0 +1,2 @@
+localhost
+
diff --git a/roles/load-modules/tests/test.yml b/roles/load-modules/tests/test.yml
new file mode 100644
index 0000000..13fbf1f
--- /dev/null
+++ b/roles/load-modules/tests/test.yml
@@ -0,0 +1,4 @@
+---
+- hosts: localhost
+ roles:
+ - load-modules