Robert Kaussow
336e264b09
All checks were successful
continuous-integration/drone/push Build is passing
18 lines
498 B
YAML
18 lines
498 B
YAML
---
|
|
- name: Add common yum repositories
|
|
yum_repository:
|
|
name: "{{ item.name }}"
|
|
file: "{{ item.filename }}"
|
|
description: "{{ item.desc }}"
|
|
baseurl: "{{ item.baseurl }}"
|
|
gpgkey: "{{ item.gpgkey }}"
|
|
gpgcheck: "{{ item.gpgcheck | default('yes') }}"
|
|
sslverify: "{{ item.sslverify | default('yes') }}"
|
|
enabled: "{{ item.enabled }}"
|
|
loop: "{{ yum_repositories }}"
|
|
loop_control:
|
|
label: "{{ item.name }}"
|
|
notify: __yum_upgrade
|
|
become: True
|
|
become_user: root
|