Nate Stephany
2020-03-14 2158c5d1da2cb16179e12d813cf827a7e14e1191
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#vim: set ft=ansible:
---
######################### Set up Subscription Method (File/Satellite/RHN)
 
- when: not hostvars.localhost.skip_packer_tasks | d(false)
  tags:
    - set_repositories
    - packer
  block:
    - name: Configure Satellite Subscription
      include_tasks: ./satellite-repos.yml
      when: repo_method == "satellite"
 
    - name: Configure RHN Subscription
      include_tasks: ./rhn-repos.yml
      when: repo_method == "rhn"
 
    - name: Configure Repository File
      include_tasks: ./file-repos.yml
      when: repo_method == "file"