diff --git a/bootstrap.yml b/bootstrap.yml index 38181e8..0f5ff62 100644 --- a/bootstrap.yml +++ b/bootstrap.yml @@ -12,4 +12,4 @@ hosts: all become: yes roles: - - role: toal-common + - role: toal-common \ No newline at end of file diff --git a/roles/toal-common/tasks/main.yml b/roles/toal-common/tasks/main.yml index 742efb1..34fabd9 100644 --- a/roles/toal-common/tasks/main.yml +++ b/roles/toal-common/tasks/main.yml @@ -13,4 +13,15 @@ notify: Ovirt Agent Restart when: ansible_virtualization_type == "RHEV" +- name: Install katello-agent on Satellite managed systems + yum: + name: katello-agent + state: present + when: foreman + +- name: Install insights-client on RHEL systems + yum: + name: insights-client + state: present + when: ansible_os_family == "RedHat"