Name: infra-ansible
Version: %{_version}
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: Contains ansible playbook and roles for Akraino rec blueprint
License: %{_platform_licence}
Source0: %{name}-%{version}.tar.gz
ln -sf %{_playbooks_path}/single_node_storage.yml %{buildroot}/%{_provisioning_path}
ln -sf %{_playbooks_path}/ceph-deploy.yml %{buildroot}/%{_provisioning_path}
ln -sf %{_playbooks_path}/baremetal-interface-config.yml %{buildroot}/%{_provisioning_path}
+ln -sf %{_playbooks_path}/ntp-check.yml %{buildroot}/%{_provisioning_path}
# Create links for the postconfig phase
mkdir -p %{buildroot}/%{_postconfig_path}
for role in /usr/share/ceph-ansible/roles/*; do
ln -sf $role /etc/ansible/roles/
done
+mkdir -p /etc/ansible/roles/plugins/library
+for module in /usr/share/ceph-ansible/library/*.py*; do
+ ln -sf $module /etc/ansible/roles/plugins/library
+done
systemctl enable sriov
%preun