8000 Cannot pass ca_path and cookies to fetch_file() in urls module utils · Issue #85172 · ansible/ansible · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cannot pass ca_path and cookies to fetch_file() in urls module utils #85172
Open
@felixfontein

Description

@felixfontein

Summary

This is probably an oversight, but right now it's not possible to pass ca_path to fetch_file in the urls module utils.

validate_certs is taken from the module args, ciphers can be manually passed to fetch_file, but it's not possible to pass ca_path at all. This makes it impossible to use fetch_file to download files from HTTPS URLs with certificate validation with CAs outside the used trust store.

When looking at urls, I also noticed that it's not possible to pass cookies to fetch_file.

Issue Type

Feature Idea

Component Name

urls module util

Additional Information

Code of Conduct

  • I agree to follow the Ansible Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis issue/PR relates to a feature request.has_prThis issue has an associated PR.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0