openshift-ansible-inventory.spec 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Summary: OpenShift Ansible Inventories
  2. Name: openshift-ansible-inventory
  3. Version: 0.0.1
  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}/usr/share/ansible/inventory
  18. mkdir -p %{buildroot}/usr/share/ansible/inventory/aws
  19. mkdir -p %{buildroot}/usr/share/ansible/inventory/gce
  20. cp -p multi_ec2.py multi_ec2.yaml.example %{buildroot}/usr/share/ansible/inventory
  21. cp -p aws/ec2.py aws/ec2.ini %{buildroot}/usr/share/ansible/inventory/aws
  22. cp -p gce/gce.py %{buildroot}/usr/share/ansible/inventory/gce
  23. %files
  24. %dir /usr/share/ansible/inventory
  25. /usr/share/ansible/inventory/multi_ec2.py*
  26. /usr/share/ansible/inventory/multi_ec2.yaml.example
  27. /usr/share/ansible/inventory/aws/ec2.py*
  28. %config(noreplace) /usr/share/ansible/inventory/aws/ec2.ini
  29. /usr/share/ansible/inventory/gce/gce.py*
  30. %changelog
  31. * Tue Mar 24 2015 Thomas Wiest <twiest@redhat.com> 0.0.1-1
  32. - new package built with tito