commit | author | age
|
c6075f
|
1 |
#vim: set ft=ansible: |
S |
2 |
--- |
|
3 |
######################### Set up Subscription Method (File/Satellite/RHN) |
|
4 |
|
6af01e
|
5 |
- when: not hostvars.localhost.skip_packer_tasks | d(false) |
c6075f
|
6 |
tags: |
S |
7 |
- set_repositories |
6af01e
|
8 |
- packer |
GC |
9 |
block: |
|
10 |
- name: Configure Satellite Subscription |
|
11 |
import_tasks: ./satellite-repos.yml |
|
12 |
when: repo_method == "satellite" |
c6075f
|
13 |
|
6af01e
|
14 |
- name: Configure RHN Subscription |
GC |
15 |
import_tasks: ./rhn-repos.yml |
|
16 |
when: repo_method == "rhn" |
c6075f
|
17 |
|
6af01e
|
18 |
- name: Configure Repository File |
GC |
19 |
import_tasks: ./file-repos.yml |
|
20 |
when: repo_method == "file" |
ec8161
|
21 |
|
JR |
22 |
- name: Configure EPEL |
|
23 |
import_tasks: ./epel-repo.yml |
|
24 |
when: enable_epel | d(false) | bool |