tripleo-operator-ansible/roles/tripleo_repos
Alex Schultz 2b8f053a93 Update tripleo-repos to match pattern
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
2020-04-09 08:30:23 -06:00
..
defaults Update tripleo-repos to match pattern 2020-04-09 08:30:23 -06:00
handlers Rename roles to use underscore 2020-01-21 10:12:00 -07:00
meta Rename roles to use underscore 2020-01-21 10:12:00 -07:00
tasks Update tripleo-repos to match pattern 2020-04-09 08:30:23 -06:00
tests Fixed flake8 excludes and new-lines 2020-01-27 19:10:31 +00:00
vars Rename roles to use underscore 2020-01-21 10:12:00 -07:00
README.md Update tripleo-repos to match pattern 2020-04-09 08:30:23 -06:00

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 executed
  • tripleo_repos_extra_args: (List) List of extra arguments to pass to tripleo_repos
  • tripleo_repos_repo_base: (String) Url base to RDO (default: https://trunk.rdoproject.org)
  • tripleo_repos_repos: (List) List of repos to install
  • tripleo_repos_mirror: (String) Base OS mirror to use
  • tripleo_repos_rdo_mirror: (String) RDO mirror to use
  • tripleo_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