diff --git a/files/hotfix/mirrormanager2/mm2_crawler b/files/hotfix/mirrormanager2/mm2_crawler index e05f7e4fae..9681a3b7a5 100755 --- a/files/hotfix/mirrormanager2/mm2_crawler +++ b/files/hotfix/mirrormanager2/mm2_crawler @@ -978,6 +978,7 @@ def per_host(session, host, options, config): for hc in host_categories_to_scan: if hc.always_up2date: + successful_categories += 1 continue category = hc.category diff --git a/roles/mirrormanager/crawler/tasks/main.yml b/roles/mirrormanager/crawler/tasks/main.yml index e1ce65b693..62b7a2459e 100644 --- a/roles/mirrormanager/crawler/tasks/main.yml +++ b/roles/mirrormanager/crawler/tasks/main.yml @@ -61,3 +61,10 @@ - name: startup apache service: name=httpd enabled=yes state=started + +- name: HOTFIX - fix crawler for hosts which are always up2date + copy: src="{{ files }}/hotfix/mirrormanager2/mm2_crawler" dest=/usr/bin/mm2_crawler + owner=root group=root mode=0755 + tags: + - hotfix +