Add option for disable the addition of official repository
This commit is contained in:
parent
5b1d028bd2
commit
812faf9596
4 changed files with 6 additions and 3 deletions
|
|
@ -16,7 +16,7 @@
|
|||
template:
|
||||
src: 'elasticsearch.repo'
|
||||
dest: '/etc/yum.repos.d/elasticsearch-{{ es_repo_name }}.repo'
|
||||
when: es_use_repository
|
||||
when: es_use_repository and es_add_repository
|
||||
|
||||
- name: RedHat - remove unused Elasticsearch repo
|
||||
become: yes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue