From bab99d3b9d34fa5b600f18a156e4777076c4458f Mon Sep 17 00:00:00 2001 From: Pablo Escobar Date: Thu, 7 May 2020 11:17:15 +0200 Subject: [PATCH] make sure we install katello-host-tools --- tasks/main.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index b3c5eb5..3ce45fd 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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: @@ -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