diff --git a/roles/batcave/files/rhel7-rhos.repo b/roles/batcave/files/rhel7-rhos.repo new file mode 100644 index 0000000000..dcea215898 --- /dev/null +++ b/roles/batcave/files/rhel7-rhos.repo @@ -0,0 +1,4 @@ +[rhel7-rhos] +name = rhel7 openstack $basearch +baseurl=http://infrastructure.fedoraproject.org/repo/rhel/rhel7/$basearch/rhel-7-openstack-5.0-rpms +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release diff --git a/roles/batcave/tasks/main.yml b/roles/batcave/tasks/main.yml index 0a388caa67..4b0d07de54 100644 --- a/roles/batcave/tasks/main.yml +++ b/roles/batcave/tasks/main.yml @@ -27,11 +27,32 @@ - python-GeoIP # Needed for geoip scripts - python-fedmsg-fasclient # fasClient fedmsg job - bind # named-checkzone for dns repo - - python-novaclient # For general openstack cloud administration tags: - batcave - config +- name: Set up RHOS repo for cloud client stuff + copy: src=rhel7-rhos.repo dest=/etc/yum.repos.d/rhel7-rhos.repo + tags: + - cloud + - batcave + - config + +- name: install cloud client packages + yum: pkg={{ item }} state=present + with_items: + - python-novaclient + - python-neutronclient + - python-oslo-config + - python-six + - python-keystoneclient + - python-glanceclient + tags: + - cloud + - batcave + - config + + # # This is our ansible master, setup ansible #