diff --git a/roles/configure-mirrors/handlers/main.yaml b/roles/configure-mirrors/handlers/main.yaml index c23aea051..97aaf7620 100644 --- a/roles/configure-mirrors/handlers/main.yaml +++ b/roles/configure-mirrors/handlers/main.yaml @@ -27,3 +27,7 @@ with_items: - zypper clean - zypper refresh + +- name: Update Gentoo cache + become: yes + command: emerge-webrsync diff --git a/roles/configure-mirrors/tasks/mirror/Gentoo.yaml b/roles/configure-mirrors/tasks/mirror/Gentoo.yaml new file mode 100644 index 000000000..0b9a03e32 --- /dev/null +++ b/roles/configure-mirrors/tasks/mirror/Gentoo.yaml @@ -0,0 +1,3 @@ +- name: Update Gentoo repository + notify: + - Update Gentoo cache