renatoalmeidaoliveira.netero.git_push (1.1.5) — module

Makes git push on repository

| "added in version" 0.0.1 of renatoalmeidaoliveira.netero"

Authors: Renato Almeida de Oliveira (renato.a.oliveira@pm.me)

preview | supported by community

Install collection

Install with ansible-galaxy collection install renatoalmeidaoliveira.netero:==1.1.5


Add to requirements.yml

  collections:
    - name: renatoalmeidaoliveira.netero
      version: 1.1.5

Description

This module runs git status -sb and if there are any changes on the repository make git push

This module assumes that Ansible server and the Git Server can connect


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Push repo
  git_push:
    path: /home/repository

Inputs

    
path:
    description:
    - The repository path
    required: true

Outputs

message:
  description: object
  returned: success
  type: dict