Skip to content

Instantly share code, notes, and snippets.

@harish417
harish417 / ansible-github.yml
Created November 29, 2018 13:36 — 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