September 2018
Beginner to intermediate
214 pages
5h 53m
English
This module helps to deploy a tool or configuration files from a Git repository. This module requires the git tool to be installed on the remote host to work properly. As a playbook, we will clone the latest version of Ansible that is available on GitHub:
- name: clone Ansible from github git: repo: https://github.com/ansible/ansible.git dest: /usr/local/ansible clone: yes update: yes
The execution of this playbook should look as follows:

The git module does support some special return values that help you to monitor the status of the project.
Read now
Unlock full access