octupus.o4n_dev_git.o4n_git_acp (2.4.13) — module

push content to a Git repository

| "added in version" 2.1 of octupus.o4n_dev_git"

Authors: Ed Scrimaglia

Install collection

Install with ansible-galaxy collection install octupus.o4n_dev_git:==2.4.13


Add to requirements.yml

  collections:
    - name: octupus.o4n_dev_git
      version: 2.4.13

Description

Set remote parameters

Add files for trucking

Commit

Push content

Inputs

    
path:
    description: path where add, commit and push must be applied
    required: true

files:
    default: .
    description: files to be tracked by Git
    required: false

force:
    default: present
    description: define if push will be forced, present or absent
    required: false

token:
    description: credential token type to access the repository
    required: true

branch:
    default: main
    description: the branch name to be pushed
    required: false

origin:
    description: the origin name in the URL set in Git remote
    required: true

remote:
    description: repository to be set as remote by git remote add
    required: true

comment:
    description: commit comment
    required: false

user_name:
    description: user name for setting git (git config user.name)
    required: false

user_email:
    description: user email for setting git (git config user.email)
    required: false