fix: fix yum.repos.d path
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4410f91564
commit
2e81c2067e
@ -1,17 +1,17 @@
|
|||||||
---
|
---
|
||||||
- block:
|
- block:
|
||||||
- name: Remove repositories
|
- name: Remove repository files
|
||||||
file:
|
file:
|
||||||
name: "/etc/packages.repos.d/{{ item }}"
|
name: "/etc/yum.repos.d/{{ item }}"
|
||||||
state: absent
|
state: absent
|
||||||
loop: "{{ packages_repofiles_remove }}"
|
loop: "{{ packages_repofiles_remove }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "/etc/packages.repos.d/{{ item }}"
|
label: "/etc/yum.repos.d/{{ item }}"
|
||||||
|
|
||||||
- name: Add common repositories
|
- name: Add common repositories
|
||||||
yum_repository:
|
yum_repository:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
file: "{{ item.filename }}"
|
file: "{{ item.filename | default(omit) }}"
|
||||||
description: "{{ item.desc | default(omit) }}"
|
description: "{{ item.desc | default(omit) }}"
|
||||||
baseurl: "{{ item.baseurl | default(omit) }}"
|
baseurl: "{{ item.baseurl | default(omit) }}"
|
||||||
gpgkey: "{{ item.gpgkey | default(omit) }}"
|
gpgkey: "{{ item.gpgkey | default(omit) }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user