Skip to content

Instantly share code, notes, and snippets.

@alloy-d
Created April 1, 2015 16:49
Show Gist options
  • Select an option

  • Save alloy-d/643ac0b9fc30da759193 to your computer and use it in GitHub Desktop.

Select an option

Save alloy-d/643ac0b9fc30da759193 to your computer and use it in GitHub Desktop.
Ansible playbook for a simple test of what data comes from the git module.
- hosts: localhost
connection: local
gather_facts: false
tasks:
- name: clone test repo
git:
repo: git://github.com/intridea/hashie
update: yes
version: master
dest: repo
register: repo
- name: wtf is the repo
debug: var=repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment