postinstall: Copy ceph ansible modules if present 30/2030/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 21 Nov 2019 08:48:48 +0000 (09:48 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 21 Nov 2019 08:52:47 +0000 (09:52 +0100)
commitb1aa7eeed016328a3ef25bdc993d164f86ccf5c8
tree4d2a78091d4b4ff304aab80e97b0124732a1d87c
parentab187a5e9e7d42a0253c14bd528d1fd5212a36f7
postinstall: Copy ceph ansible modules if present

ceph-ansible 3.1 (and newer) refactored the handling of ceph keys
by leveraging a new `ceph-key` ansible module.

To support the new ceph-ansible 3.1, we copy any ceph ansible modules
similar to the way we currently handle ceph roles.
This change is backwards compatible with the current ceph-ansible 3.0.

Signed-off-by: Alexandru Antone <Alexandru.Antone@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Change-Id: I41364261dd8f445ddedf9d07eaa2cadc9da90b5e
infra-ansible.spec