Actually remove the unused RedHat repository

This commit is contained in:
Michael Russell 2019-01-02 10:06:47 +01:00
parent 486717bc6f
commit 5126dbc5e8
No known key found for this signature in database
GPG key ID: A90C1696496085FE
2 changed files with 28 additions and 3 deletions

View file

@ -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