renatoalmeidaoliveira / renatoalmeidaoliveira.netero / 1.1.5 / module / git_commit Makes git commit on repository | "added in version" 0.0.1 of renatoalmeidaoliveira.netero" Authors: Renato Almeida de Oliveira (renato.a.oliveira@pm.me) preview | supported by communityrenatoalmeidaoliveira.netero.git_commit (1.1.5) — module
Install with ansible-galaxy collection install renatoalmeidaoliveira.netero:==1.1.5
collections: - name: renatoalmeidaoliveira.netero version: 1.1.5
This module runs git status and if there are any changes on the repository makes git add * ana git commit
- name: Commit repo git_commit: path: /home/repository
- name: Commit with message git_commit: path: /home/repository commitMessage: "Commit executed by Ansible"
path: description: - The repository path required: true commitMessage: description: - Sets the commit message, if none uses timestamp required: false
message: description: object returned: success type: dict