diff options
author | ramamani yeleswarapu <ramamani.yeleswarapu@intel.com> | 2018-03-26 14:23:49 -0700 |
---|---|---|
committer | ramamani yeleswarapu <ramamani.yeleswarapu@intel.com> | 2018-04-03 19:50:53 +0000 |
commit | 72048c0113789f8b5bb0b238785fc51ea4cdac96 (patch) | |
tree | 5e477c70fbc9e4b68a501b008756c6cdb93302a8 /plugins/stor4nfv/roles/stor4nfv/templates | |
parent | 18cf3eec4990e2e747cadc8b9c177e5b1d0c67f4 (diff) |
Stor4nfv: Install ansible version 2.4
Ansible 2.5 release is causing errors in the installation of
ceph-ansible (for ceph-mon). This patch fixes the ansible
version installed on kube_master to 2.4.3 to address the ceph
errors.
Also, adds these post-install tasks:
- run 'modprobe rbd'
- create opensds default profile
- create csi pods.
Change-Id: Iee8d27da68896009d2e27ce4a6c7f805524d086d
Signed-off-by: Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com>
Diffstat (limited to 'plugins/stor4nfv/roles/stor4nfv/templates')
-rw-r--r-- | plugins/stor4nfv/roles/stor4nfv/templates/post-install.yml.j2 | 20 |
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" |