Skip to content
Snippets Groups Projects
Commit 50312f1d authored by Jörg Sachse's avatar Jörg Sachse
Browse files

refactor: move yum repo management to Ansible role ansible_lza_install_common

parent 05113190
No related branches found
No related tags found
No related merge requests found
---
- name: add EPEL repository
yum_repository:
name: "{{ item.name }}"
description: "{{ item.description }}"
baseurl: "{{ item.baseurl }}"
gpgcheck: "{{ item.gpgcheck | default('true') }}"
gpgkey: "{{ item.gpgkey | default(omit) }}"
loop:
- name: "epel"
description: EPEL YUM repo
baseurl: "https://download.fedoraproject.org/pub/epel/{{ ansible_distribution_major_version }}/x86_64/"
gpgkey: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-{{ ansible_distribution_major_version }}"
- name: "slub"
description: SLUB YUM repo
baseurl: "http://sdvrhelrepo.slub-dresden.de/"
gpgcheck: "false"
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
### COMMON TASKS ### COMMON TASKS
- import_tasks: configure_yum_repositories.yml
tags: [yum, repositories]
- import_tasks: install_packages.yml - import_tasks: install_packages.yml
tags: [yum, packages] tags: [yum, packages]
- import_tasks: create_users.yml - import_tasks: create_users.yml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment