Allow cert validation for hatop download to be disabled
When using a TLS proxy, the certificate validation may fail. This patch allows the validation to be optionally disabled. Change-Id: I4bc854486a5ef694c4bc8a29546586a068f55af7
This commit is contained in:
committed by
Jesse Pretorius (odyssey4me)
parent
871e31911d
commit
4e9dd2ab5a
@@ -13,6 +13,10 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
# Validate Certificates when downloading hatop. May be set to "no" when proxy server
|
||||||
|
# is intercepting the certificates.
|
||||||
|
haproxy_hatop_download_validate_certs: yes
|
||||||
|
|
||||||
# Set the package install state for distribution packages
|
# Set the package install state for distribution packages
|
||||||
# Options are 'present' and 'latest'
|
# Options are 'present' and 'latest'
|
||||||
haproxy_package_state: "latest"
|
haproxy_package_state: "latest"
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
url: "{{ haproxy_hatop_download_url }}"
|
url: "{{ haproxy_hatop_download_url }}"
|
||||||
dest: "/var/cache/{{ haproxy_hatop_download_url | basename }}"
|
dest: "/var/cache/{{ haproxy_hatop_download_url | basename }}"
|
||||||
force: yes
|
force: yes
|
||||||
|
validate_certs: "{{ haproxy_hatop_download_validate_certs }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Create HATop directory
|
- name: Create HATop directory
|
||||||
|
|||||||
Reference in New Issue
Block a user