-
-
Save prometheanfire/c4c4b188ffdebca1a518cbb2eb03a0e0 to your computer and use it in GitHub Desktop.
stdin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/roles/configure-mirrors/handlers/main.yaml b/roles/configure-mirrors/handlers/main.yaml | |
index 560ad78..80bbf90 100644 | |
--- a/roles/configure-mirrors/handlers/main.yaml | |
+++ b/roles/configure-mirrors/handlers/main.yaml | |
@@ -24,6 +24,17 @@ | |
- zypper clean | |
- zypper refresh | |
+- name: Ensure Gentoo Repo directory | |
+ file: | |
+ path: /var/db/repos/gentoo | |
+ state: directory | |
+ mode: 0755 | |
+ recurse: yes | |
+ owner: root | |
+ group: root | |
+ when: | |
+ ansible_distribution == "Gentoo" | |
+ | |
- name: Update Gentoo cache | |
become: yes | |
command: emerge-webrsync |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment