From 06e8c0fac1d33c46ddf330820f6bc49b5705db5c Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Thu, 20 Sep 2018 02:23:57 -0500 Subject: [PATCH] update Gentoo cache Change-Id: Icf0e8551236ae690b7997217723622031b7648b7 --- roles/configure-mirrors/handlers/main.yaml | 4 ++++ roles/configure-mirrors/tasks/mirror/Gentoo.yaml | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 roles/configure-mirrors/tasks/mirror/Gentoo.yaml 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