SUSE: Add the Cloud:OpenStack:Ocata repository

The OBS Cloud:OpenStack:Ocata repository contains most of the necessary
packages to deploy an OpenStack cloud so it's best to have it installed
as soon as possible.

Change-Id: I131558011d056da63f03a6e7d8276d93c594c9aa
This commit is contained in:
Markos Chandras 2017-06-06 15:09:43 +01:00
parent fe69a55c98
commit 26432f4f95
2 changed files with 18 additions and 0 deletions

View File

@ -12,3 +12,17 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
- name: Add zypper cloud repository
zypper_repository:
auto_import_keys: yes
autorefresh: yes
name: "{{ item.name }}"
repo: "{{ item.uri }}"
runrefresh: yes
with_items: "{{ pip_install_external_repo }}"
when:
- user_external_repo_key is not defined
tags:
- add-repo-keys

View File

@ -13,6 +13,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
pip_install_external_repo:
- name: "OBS:Cloud:OpenStack:Ocata"
uri: "http://download.opensuse.org/repositories/Cloud:/OpenStack:/Ocata/openSUSE_Leap_{{ ansible_distribution_version }}"
pip_install_distro_build_packages:
- gcc
- libffi-devel