Skip to content

Instantly share code, notes, and snippets.

@devanand73
devanand73 / ansible-github.yml
Created May 20, 2020 18:29 — 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