Skip to content

Instantly share code, notes, and snippets.

@Kidunnu
Kidunnu / ansible-github.yml
Created February 21, 2022 10:01 — forked from devynspencer/ansible-github.yml
Example playbook for cloning a private git repository with Ansible.
---
hosts: all
tasks:
- name: add github ssh key
copy: >
src=files/id_rsa.github
dest=/root/.ssh/id_rsa.github
owner=root
group=root