Installation of ansible-based Observer
authorSapan Bhatia <sapanb@cs.princeton.edu>
Wed, 5 Nov 2014 15:38:15 +0000 (10:38 -0500)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Wed, 5 Nov 2014 15:38:15 +0000 (10:38 -0500)
opencloud.spec

index 8a3df76..dc2c91a 100644 (file)
@@ -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}