Skip to content

add key_file path option #222

@djdanielsson

Description

@djdanielsson
SUMMARY

it would be really helpful if you could add a key_file path option to the modules to point to specific private key file to gain permissions to private repos.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME
ADDITIONAL INFORMATION

to allow easier usage of private key files to access private repos

- name: Commit and Push changes
  ansible.scm.git_publish:
    path: "{{ git_path }}"
    user:
      name: "David Danielsson"
    key_file: "{{ lookup('env', 'MY_CERT_FILE_PATH') }}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions