Skip to content

Commit

Permalink
make sure we install katello-host-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
pescobar committed May 7, 2020
1 parent 8fe3d4f commit bab99d3
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,16 @@
regexp: "^enabled"
line: "enabled=0"

# make sure we clean yum metadata after updating yum repos
- meta: flush_handlers

- name: Install katello-host-tools and katello-host-tools-tracer
yum:
name:
- katello-host-tools
- katello-host-tools-tracer
state: installed

- name: Install katello agent (if you are not using the foreman remote-exec plugin or ansible)
block:

Expand All @@ -101,6 +111,3 @@
enabled: true

when: katello_install_agent

# make sure we clean yum metadata at the end of this role if something changed
- meta: flush_handlers

0 comments on commit bab99d3

Please sign in to comment.