summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/custom-actions/add-yum-repos.yml
blob: ffebcb642cf3100799c520cfcb355ea83da8bec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- hosts: cluster_hosts
  vars:
    yum_repos: []
  tasks:
  # enable additional yum repos
  - name: Add repository
    yum_repository:
      name: "{{ item.name }}"
      description: "{{ item.description }}"
      baseurl: "{{ item.baseurl }}"
    with_items: "{{ yum_repos }}"