From 9df26a27396717e1645a38b603d10c8f78f61660 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Wed, 5 Nov 2014 10:38:15 -0500 Subject: [PATCH] Installation of ansible-based Observer --- opencloud.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/opencloud.spec b/opencloud.spec index 8a3df76..dc2c91a 100644 --- a/opencloud.spec +++ b/opencloud.spec @@ -104,6 +104,14 @@ comm -13 %{_tmppath}/config-files.sorted %{_tmppath}/tmp-filelist.sorted > %{_tm cp %{_tmppath}/tmp-filelist /tmp/tmp-filelist +# Clone ansible with latest openstack modules +git clone --recursive git://github.com/ansible/ansible.git /opt/ansible +mkdir -p /etc/ansible +echo > /etc/ansible/hosts << "EOF" +[localhost] +127.0.0.1 +EOF + %clean rm -rf %{buildroot} -- 2.43.0