octupus / octupus.o4n_dev_git / 2.3.5 / module / o4n_git_set_remote set git branch and it remote in a directory | "added in version" 2.0 of octupus.o4n_dev_git" Authors: Ed Scrimagliaoctupus.o4n_dev_git.o4n_git_set_remote (2.3.5) — module
Install with ansible-galaxy collection install octupus.o4n_dev_git:==2.3.5
collections: - name: octupus.o4n_dev_git version: 2.3.5
Detect if already exists a remote git linked to the directory
Set the origin/remote link
Set the main branch
path: default: ./ description: directory where to set the remote required: false branch: description: branch to be used required: true origin: default: origin description: the origin required: false remote: description: repository to be set as remote by git required: true