X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Finfra-ansible.git;a=blobdiff_plain;f=infra-ansible.spec;h=85ad64ddeb404c6398824ab4476d6d668bf95d36;hp=144eb766ae15bc0f7673d4ac561552e2eafdb864;hb=2dfb03eebd138f9c7d52d962ab7468eb248fd23e;hpb=972df96690f76f42d4351686c75bc8e5d1b2cb31 diff --git a/infra-ansible.spec b/infra-ansible.spec index 144eb76..85ad64d 100644 --- a/infra-ansible.spec +++ b/infra-ansible.spec @@ -15,7 +15,7 @@ Name: infra-ansible Version: %{_version} -Release: 1%{?dist} +Release: 13%{?dist} Summary: Contains ansible playbook and roles for Akraino rec blueprint License: %{_platform_licence} Source0: %{name}-%{version}.tar.gz @@ -76,6 +76,7 @@ ln -sf %{_playbooks_path}/rpm-database.yml %{buildroot}/%{_pro 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} @@ -100,7 +101,6 @@ ln -sf %{_playbooks_path}/disable-old-node-rsyslog.yml %{buildroo ln -sf %{_playbooks_path}/enablecmagent.yml %{buildroot}/%{_postconfig_path} ln -sf %{_playbooks_path}/haproxy-install.yml %{buildroot}/%{_postconfig_path} ln -sf %{_playbooks_path}/ipv6-config.yml %{buildroot}/%{_postconfig_path} -ln -sf %{_playbooks_path}/kernel-core-handling.yml %{buildroot}/%{_postconfig_path} ln -sf %{_playbooks_path}/motd.yml %{buildroot}/%{_postconfig_path} ln -sf %{_playbooks_path}/hostcli.yml %{buildroot}/%{_postconfig_path} ln -sf %{_playbooks_path}/oom.yml %{buildroot}/%{_postconfig_path} @@ -152,6 +152,10 @@ cp systemd/sriov.sh %{buildroot}/opt/sriov 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