openshift-ansible-inventory.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. Summary: OpenShift Ansible Inventories
  2. Name: openshift-ansible-inventory
  3. Version: 0.0.3
  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 aws/hosts/ec2.ini %{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. %config(noreplace) /usr/share/ansible/inventory/aws/ec2.ini
  31. /usr/share/ansible/inventory/gce/gce.py*
  32. %changelog
  33. * Thu May 07 2015 Thomas Wiest <twiest@redhat.com> 0.0.3-1
  34. - fixed build problems with openshift-ansible-inventory.spec
  35. (twiest@redhat.com)
  36. - Allow option in multi_ec2 to set cache location. (kwoodson@redhat.com)
  37. - Add ansible_connection=local to localhost in inventory (jdetiber@redhat.com)
  38. - Adding refresh-cache option and cleanup for pylint. Also updated for
  39. aws/hosts/ being added. (kwoodson@redhat.com)
  40. * Thu Mar 26 2015 Thomas Wiest <twiest@redhat.com> 0.0.2-1
  41. - added the ability to have a config file in /etc/openshift_ansible to
  42. multi_ec2.py. (twiest@redhat.com)
  43. - Merge pull request #97 from jwhonce/wip/cluster (jhonce@redhat.com)
  44. - gce inventory/playbook updates for node registration changes
  45. (jdetiber@redhat.com)
  46. - Various fixes (jdetiber@redhat.com)
  47. * Tue Mar 24 2015 Thomas Wiest <twiest@redhat.com> 0.0.1-1
  48. - new package built with tito