Skip to content

Instantly share code, notes, and snippets.

@devops0925
devops0925 / ansible-github.yml
Last active January 27, 2020 08:11 — 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