From: Sapan Bhatia Date: Wed, 5 Nov 2014 15:38:15 +0000 (-0500) Subject: Installation of ansible-based Observer X-Git-Url: http://git.onelab.eu/?p=plstackapi.git;a=commitdiff_plain;h=9df26a27396717e1645a38b603d10c8f78f61660 Installation of ansible-based Observer --- 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}