tripleo-quickstart-extras/roles/install-built-repo
2018-12-04 22:28:05 +00:00
..
defaults Add ability to disable yum update with gating repo 2018-12-01 14:11:29 +00:00
meta Adopt yamllint strict linting 2018-11-26 12:37:21 +00:00
tasks Adopt yamllint strict linting 2018-11-26 12:37:21 +00:00
templates Add ability to disable yum update with gating repo 2018-12-01 14:11:29 +00:00
README.md Add ability to disable yum update with gating repo 2018-12-01 14:11:29 +00:00

install-built-repo

Install built packages on host and/or within the image. This Ansible role allows installation of packages which were built by DLRN on a live host or within an image.

Requirements

No requirements.

Role Variables

  • ib_repo_install_script - path to repositories install script template
  • ib_repo_install_log - path to repositories install script log
  • ib_repo_run_live: false/true - where to run repo install script on host (live host that playbook runs on it) (default: true)
  • ib_gating_repo_enabled: true/false - whether to enable built repo or not (default: true)
  • ib_gating_repo_update: true/false - whether to do a yum update with the gating repo (default: true) This only works if ib_gating_repo_enabled is also enabled. WARNING: This may inadvertently update packages outside of what is being provided by the gating repo.
  • ib_repo_file_path: path to compressed repo built by build-test-packages role
  • ib_repo_image_inject: false/true - where to inject and run repo install script on specified image (default: false)
  • ib_repo_image_path: path to image, in case of injecting repositories into the image
  • ib_repo_host: host where built repo exists, if it's not the same host where this roles runs
  • ib_create_web_repo: false/true - Create web accessible repository in directory with built packages (default: false)

Dependencies

  • modify-image role in TripleO Quickstart extras repository

Example Playbook

Including an example of how to use this role

---
- name:  Run repo install
  hosts: undercloud
  gather_facts: false
  roles:
    - install-built-repo

- name:  Run repo install
  hosts: undercloud
  gather_facts: false
  vars:
    ib_repo_image_inject: true
    ib_repo_image_path: "{{ working_dir }}/overcloud-full.qcow2"
  roles:
    - install-built-repo

License

Apache 2.0

Author Information

OpenStack