2018-11-15 20:38:39 +00:00
|
|
|
---
|
|
|
|
- name: Add common yum repositories
|
|
|
|
yum_repository:
|
2019-08-27 06:32:50 +00:00
|
|
|
name: "{{ item.name }}"
|
|
|
|
file: "{{ item.filename }}"
|
|
|
|
description: "{{ item.desc }}"
|
|
|
|
baseurl: "{{ item.baseurl }}"
|
|
|
|
gpgkey: "{{ item.gpgkey }}"
|
|
|
|
enabled: "{{ item.enabled }}"
|
|
|
|
loop: "{{ yum_repositories }}"
|
2018-11-15 20:38:39 +00:00
|
|
|
loop_control:
|
2019-08-27 06:32:50 +00:00
|
|
|
label: "{{ item.name }}"
|
2018-11-15 20:38:39 +00:00
|
|
|
notify: __yum_upgrade
|
|
|
|
become: True
|
|
|
|
become_user: root
|