Skip to content

Commit

Permalink
install epel-release rpm first
Browse files Browse the repository at this point in the history
  • Loading branch information
pescobar committed Mar 18, 2021
1 parent 04bc167 commit 428f375
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---
# tasks file for scicore-katello-register

- name: install epel-release rpm to disable it afterwards
yum:
name: epel-release
state: installed

# set var "katello_client_yum_repo_add=true" if you want to use upstream repos for foreman-client
# by default we don't add the upstream repo because we assume our katello instance will provide the foreman-client rpms
- name: Add the foreman-client yum repo
Expand All @@ -14,11 +19,6 @@
name: subscription-manager
state: installed

- name: install epel-release rpm to disable it afterwards
yum:
name: epel-release
state: installed

- name: install the katello ca-consumer
yum:
name: http://{{ katello_client_katello_server_hostname }}/pub/katello-ca-consumer-latest.noarch.rpm
Expand Down

0 comments on commit 428f375

Please sign in to comment.