escrimaglia / escrimaglia.devs_git / 1.0.2 / module / o4n_git_set_remote set git branch and it remote in a directory | "added in version" 2.0 of escrimaglia.devs_git" Authors: Ed Scrimagliaescrimaglia.devs_git.o4n_git_set_remote (1.0.2) — module
Install with ansible-galaxy collection install escrimaglia.devs_git:==1.0.2
collections: - name: escrimaglia.devs_git version: 1.0.2
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 state: description: set or unset git remote required: true branch: default: M 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