renatoalmeidaoliveira / renatoalmeidaoliveira.netero / 1.1.5 / module / gogs_createrepo Create a repository on Gogs | "added in version" 0.0.1 of renatoalmeidaoliveira.netero" Authors: Renato Almeida de Oliveira (renato.a.oliveira@pm.me) preview | supported by communityrenatoalmeidaoliveira.netero.gogs_createrepo (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 encapusles Gogs API to create a repository
- name: Create Repository gogs_createRepo: gogsURL: "http://gogs.local:3000/" organization: "acme" name: "Test Inventory" accessToken: "Token"
name: description: - The repository name required: true user: description: - The user that owns the repository, This argument is mutually exclusive with organization. required: false readme: description: - Desired README template to apply. Use the name of the template. required: false gogsURL: description: - The Gogs Server URL required: true license: default: default description: - Desired LICENSE template to apply. Use the name of the template. For example, 'Apache v2 License' or 'MIT License'. required: false private: default: false description: - Either true to create a private repository, or false to create a public one required: false autoInit: default: false description: - Pass true to create an initial commit with README, .gitignore and LICENSE. required: false gitignores: description: - Desired language .gitignore templates to apply. Use the name of the templates. For example, 'Go' or 'Go,SublimeText'. required: false accessToken: description: - The user Access Token required: true description: description: - A short description of the repository required: false organization: description: - The organization that owns the repository, This argument is mutually exclusive with user. required: false
message: description: object returned: success type: dict