summaryrefslogtreecommitdiffstats
path: root/plugins/stor4nfv/roles/stor4nfv/templates/post-install.yml.j2
diff options
context:
space:
mode:
authorYifei Xue <xueyifei@huawei.com>2018-04-16 06:45:37 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-04-16 06:45:37 +0000
commit6852376b5af301781dbfb31a11903cf9ee95773e (patch)
tree90da6e563d0c1b2b5d4e29dfc56f3a039dba439d /plugins/stor4nfv/roles/stor4nfv/templates/post-install.yml.j2
parent01ff42530757cf99e99b0d63d6daa822b93e1941 (diff)
parent72048c0113789f8b5bb0b238785fc51ea4cdac96 (diff)
Merge "Stor4nfv: Install ansible version 2.4"
Diffstat (limited to 'plugins/stor4nfv/roles/stor4nfv/templates/post-install.yml.j2')
-rw-r--r--plugins/stor4nfv/roles/stor4nfv/templates/post-install.yml.j220
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/stor4nfv/roles/stor4nfv/templates/post-install.yml.j2 b/plugins/stor4nfv/roles/stor4nfv/templates/post-install.yml.j2
new file mode 100644
index 00000000..662abc34
--- /dev/null
+++ b/plugins/stor4nfv/roles/stor4nfv/templates/post-install.yml.j2
@@ -0,0 +1,20 @@
+# #############################################################################
+# Copyright (c) 2018 Intel Corp.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+# #############################################################################
+---
+
+- hosts:
+ - mons
+ - osds
+ - mgrs
+
+ tasks:
+ - name: run modprobe rbd
+ remote_user: root
+ command: modprobe rbd
+ ignore_errors: "true"