openshift-ansible-inventory.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Summary: OpenShift Ansible Inventories
  2. Name: openshift-ansible-inventory
  3. Version: 0.0.5
  4. Release: 1%{?dist}
  5. License: ASL 2.0
  6. URL: https://github.com/openshift/openshift-ansible
  7. Source0: %{name}-%{version}.tar.gz
  8. Requires: python2
  9. BuildRequires: python2-devel
  10. BuildArch: noarch
  11. %description
  12. Ansible Inventories used with the openshift-ansible scripts and playbooks.
  13. %prep
  14. %setup -q
  15. %build
  16. %install
  17. mkdir -p %{buildroot}/etc/ansible
  18. mkdir -p %{buildroot}/usr/share/ansible/inventory
  19. mkdir -p %{buildroot}/usr/share/ansible/inventory/aws
  20. mkdir -p %{buildroot}/usr/share/ansible/inventory/gce
  21. cp -p multi_ec2.py %{buildroot}/usr/share/ansible/inventory
  22. cp -p multi_ec2.yaml.example %{buildroot}/etc/ansible/multi_ec2.yaml
  23. cp -p aws/hosts/ec2.py %{buildroot}/usr/share/ansible/inventory/aws
  24. cp -p gce/hosts/gce.py %{buildroot}/usr/share/ansible/inventory/gce
  25. %files
  26. %config(noreplace) /etc/ansible/*
  27. %dir /usr/share/ansible/inventory
  28. /usr/share/ansible/inventory/multi_ec2.py*
  29. /usr/share/ansible/inventory/aws/ec2.py*
  30. /usr/share/ansible/inventory/gce/gce.py*
  31. %changelog
  32. * Tue May 12 2015 Thomas Wiest <twiest@redhat.com> 0.0.5-1
  33. - removed ec2.ini from the openshift-ansible-inventory.spec file so that we're
  34. not dictating what the ec2.ini file should look like. (twiest@redhat.com)
  35. - Added capability to pass in ec2.ini file. (kwoodson@redhat.com)
  36. * Thu May 07 2015 Thomas Wiest <twiest@redhat.com> 0.0.4-1
  37. - Fixed a bug due to renaming of variables. (kwoodson@redhat.com)
  38. * Thu May 07 2015 Thomas Wiest <twiest@redhat.com> 0.0.3-1
  39. - fixed build problems with openshift-ansible-inventory.spec
  40. (twiest@redhat.com)
  41. - Allow option in multi_ec2 to set cache location. (kwoodson@redhat.com)
  42. - Add ansible_connection=local to localhost in inventory (jdetiber@redhat.com)
  43. - Adding refresh-cache option and cleanup for pylint. Also updated for
  44. aws/hosts/ being added. (kwoodson@redhat.com)
  45. * Thu Mar 26 2015 Thomas Wiest <twiest@redhat.com> 0.0.2-1
  46. - added the ability to have a config file in /etc/openshift_ansible to
  47. multi_ec2.py. (twiest@redhat.com)
  48. - Merge pull request #97 from jwhonce/wip/cluster (jhonce@redhat.com)
  49. - gce inventory/playbook updates for node registration changes
  50. (jdetiber@redhat.com)
  51. - Various fixes (jdetiber@redhat.com)
  52. * Tue Mar 24 2015 Thomas Wiest <twiest@redhat.com> 0.0.1-1
  53. - new package built with tito