From bae69bbd5a467241e70368eb5a16d3aaffcb74e8 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Tue, 3 Dec 2024 17:05:36 +0100 Subject: [PATCH] Drop ruby_libvirt_gem role Since Foreman 2.0.2 the foreman-proxy package has depended on the libvirt gem so this isn't needed anymore. Link: https://projects.theforeman.org/issues/30040 --- roles/foreman_provisioning/meta/main.yml | 1 - roles/ruby_libvirt_gem/handlers/main.yml | 5 ----- roles/ruby_libvirt_gem/tasks/main.yml | 7 ------- 3 files changed, 13 deletions(-) delete mode 100644 roles/ruby_libvirt_gem/handlers/main.yml delete mode 100644 roles/ruby_libvirt_gem/tasks/main.yml diff --git a/roles/foreman_provisioning/meta/main.yml b/roles/foreman_provisioning/meta/main.yml index f83542a2e..259e37781 100644 --- a/roles/foreman_provisioning/meta/main.yml +++ b/roles/foreman_provisioning/meta/main.yml @@ -1,7 +1,6 @@ --- dependencies: - role: hammer_credentials - - role: ruby_libvirt_gem - role: foreman_installer foreman_installer_scenario: "{{ foreman_provisioning_scenario }}" foreman_installer_options: diff --git a/roles/ruby_libvirt_gem/handlers/main.yml b/roles/ruby_libvirt_gem/handlers/main.yml deleted file mode 100644 index a37115023..000000000 --- a/roles/ruby_libvirt_gem/handlers/main.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- name: 'Restart smart proxy' - service: - name: foreman-proxy - state: restarted diff --git a/roles/ruby_libvirt_gem/tasks/main.yml b/roles/ruby_libvirt_gem/tasks/main.yml deleted file mode 100644 index d6dbdbacc..000000000 --- a/roles/ruby_libvirt_gem/tasks/main.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: 'Install libvirt gem' - yum: - name: rubygem-ruby-libvirt - state: present - notify: - - 'Restart smart proxy'