![]() This change updates tripleo-repos to work like the other roles in tripleo-operator-ansible and expose all the cli options as direct vars rather than hide them. This change maintains backwards compatibility for the version/extra_repos vars but that usages should be dropped by anyone consuming this role. Change-Id: I00503563af0a6b8174169157d9da06a06f95ef0f |
||
---|---|---|
.. | ||
defaults | ||
handlers | ||
meta | ||
tasks | ||
tests | ||
vars | ||
README.md |
README.md
tripleo_repos
Role to install tripleo_repos and use it to manage tripleo yum repos.
Requirements
None
Role Variables
tripleo_repos_branch
: (String) Repo branch to configure (master|train|stein|etc)tripleo_repos_debug
: (Boolean) Flag to print out the tripleo-repos command being executedtripleo_repos_extra_args
: (List) List of extra arguments to pass to tripleo_repostripleo_repos_repo_base
: (String) Url base to RDO (default: https://trunk.rdoproject.org)tripleo_repos_repos
: (List) List of repos to installtripleo_repos_mirror
: (String) Base OS mirror to usetripleo_repos_rdo_mirror
: (String) RDO mirror to usetripleo_repos_output_path
: (String) Directory to save the repos in
Dependencies
None
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- name: Setup tripleo_repos
include_role:
name: tripleo_repos
vars:
tripleo_repos_repos:
- current
- ceph
tripleo_repos_branch: train
License
Apache-2.0