Closed martinliu closed 2 years ago
I suggest the following change to the PR:
validate_certs: "{{ 'false' if disable_gpg_check | bool else 'true' }}"
for both apt and RPM so that GPG checking can still be performed and will respect the global disable_gpg_check
value
I suggest the following change to the PR:
validate_certs: "{{ 'false' if disable_gpg_check | bool else 'true' }}"
for both apt and RPM so that GPG checking can still be performed and will respect the global
disable_gpg_check
value
@martinliu I'm not able to fork your fork as I've already done so, but a patch is attached to demonstrate what I'm driving at
This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. To track this PR (even if closed), please open a corresponding issue if one does not already exist.
This PR has been automatically closed because it has not had recent activity since being marked as stale. Please reopen when work resumes.
Hi Team,
I am trying to install the yum package hosting on my internal network, it is a pretty normal environment; let's say some customers have no Internet for a dev testing environment. A http web server will be hosting rpm or apt packages for them for building Elasticsearch clusters.
My Ansible is on MacOS, Ansible version is 2.10.8
I am using the following playbook.
I am trying building a stand-along elasticsearch node. I got the following error.
It stopped Ansbile playbook for running forward.
I made a quick fix on
/Users/martin/.ansible/roles/elastic.elasticsearch/tasks/elasticsearch-RedHat.yml
Added
disable_gpg_check: yes
into above file.Then run ansible-playbook again, it succeed with no more error.
I reviewed both source file
elasticsearch-Debian.yml
andelasticsearch-RedHat.yml
; it seems have same problem.I'd like to feedback and happy to raise this pr here.
Cheers, Martin Liu Elastic Developer Advocate China