openshift-ansible-inventory.spec 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. Summary: OpenShift Ansible Inventories
  2. Name: openshift-ansible-inventory
  3. Version: 0.0.2
  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/ec2.py aws/ec2.ini %{buildroot}/usr/share/ansible/inventory/aws
  24. cp -p gce/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 Mar 26 2015 Thomas Wiest <twiest@redhat.com> 0.0.2-1
  34. - added the ability to have a config file in /etc/openshift_ansible to
  35. multi_ec2.py. (twiest@redhat.com)
  36. - Merge pull request #97 from jwhonce/wip/cluster (jhonce@redhat.com)
  37. - gce inventory/playbook updates for node registration changes
  38. (jdetiber@redhat.com)
  39. - Various fixes (jdetiber@redhat.com)
  40. * Tue Mar 24 2015 Thomas Wiest <twiest@redhat.com> 0.0.1-1
  41. - new package built with tito