tripleo.repos.get_hash (0.0.5) — module

Resolve rdo named tag to commit, full and distro hashes

| "added in version" 1.0.0 of tripleo.repos"

Authors: Marios Andreou (@marios)

Install collection

Install with ansible-galaxy collection install tripleo.repos:==0.0.5


Add to requirements.yml

  collections:
    - name: tripleo.repos
      version: 0.0.5

Description

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get the latest hash info for victoria centos8 tripleo component
  tripleo_get_hash:
    os_version: centos8
    release: victoria
    component: tripleo
    dlrn_url: 'https://foo.bar.baz'

Inputs

    
tag:
    default: current-tripleo
    description: The named tag to fetch
    required: false
    type: str

release:
    default: master
    description: The release of OpenStack you want the hash info for
    required: false
    type: str

dlrn_url:
    default: https://trunk.rdoproject.org
    description: The url of the DLRN server to use for hash queries
    required: false
    type: str

component:
    description: The tripleo-ci component you are interested in
    required: false
    type: str

os_version:
    default: centos8
    description: The operating system and version to fetch hashes for
    required: false
    type: str

Outputs

commit_hash:
  description: The commit hash
  returned: when available
  sample: f47f1db5af04ddd1ab4cc3ccadf95884d335b3f3
  type: str
distro_hash:
  description: The distro hash
  returned: when available
  sample: 92f50acecd0a218936b7163e8362e75913b62af2
  type: str
dlrn_url:
  description: The dlrn server url from which hash info was collected.
  returned: always
  sample: https://trunk.rdoproject.org/centos8-master/current-tripleo/delorean.repo.md5
  type: str
extended_hash:
  description: The extended hash
  returned: when available
  sample: f47f1db5af04ddd1ab4cc3ccadf95884d335b3f3
  type: str
full_hash:
  description: The full hash that identifies the build
  returned: always
  sample: f47f1db5af04ddd1ab4cc3ccadf95884d335b3f3_92f50ace
  type: str