openafs_contrib.openafs.openafs_build_sdist (1.9.0) — module

Create OpenAFS source distribution archives from a git repo.

Authors: Michael Meffie

preview | supported by community

Install collection

Install with ansible-galaxy collection install openafs_contrib.openafs:==1.9.0


Add to requirements.yml

  collections:
    - name: openafs_contrib.openafs
      version: 1.9.0

Description

Create OpenAFS source and document source distribution archives from a git checkout.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- import_role:
    name: openafs_devel
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Checkout source.
  git:
    repo: "git://git.openafs.org/openafs.git"
    version: "openafs-stable-1_8_8"
    dest: "openafs"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Make source distribution files.
  openafs_build_sdist:
    topdir: "openafs"
    sdist: "openafs/packages"

Inputs

    
git:
    default: detected
    description: C(git) program path
    type: path

tar:
    default: detected
    description: C(tar) program path
    type: path

gzip:
    default: detected
    description: C(gzip) program path
    type: path

bzip2:
    default: detected
    description: C(bzip2) program path
    type: path

sdist:
    description:
    - The path on the remote node to write the source distribution files.
    - This path will be created if it does not exist.
    required: true
    type: path

md5sum:
    default: detected
    description: C(md5sum) program path
    type: path

topdir:
    default: C(openafs)
    description: git project directory on the remote node.
    type: path

Outputs

files:
  description: The list of sdist files created on the remote node.
  returned: always
  type: list
version:
  description: OpenAFS version
  returned: always
  type: dict