Actually remove the unused RedHat repository
This commit is contained in:
parent
486717bc6f
commit
5126dbc5e8
2 changed files with 28 additions and 3 deletions
|
|
@ -20,9 +20,9 @@
|
|||
|
||||
- name: RedHat - remove unused Elasticsearch repo
|
||||
become: yes
|
||||
template:
|
||||
src: 'elasticsearch.repo'
|
||||
dest: '/etc/yum.repos.d/elasticsearch-{{ es_other_repo_name }}.repo'
|
||||
file:
|
||||
path: '/etc/yum.repos.d/elasticsearch-{{ es_other_repo_name }}.repo'
|
||||
state: absent
|
||||
when: es_use_repository
|
||||
|
||||
- name: RedHat - include versionlock
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue