aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/rate_mirrors/tasks/main.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-26 16:17:50 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-26 16:17:50 +0100
commitcd0db89e0a8eb389a305001171f6a835d3caa6fb (patch)
tree87607d4fdf1921365bee0e7f380c63fefbdf50fd /roles/rate_mirrors/tasks/main.yml
parentmy_server: one step instead of three (diff)
downloadmaintenance-cd0db89e0a8eb389a305001171f6a835d3caa6fb.tar.gz
maintenance-cd0db89e0a8eb389a305001171f6a835d3caa6fb.zip
shorten long command lines
Diffstat (limited to 'roles/rate_mirrors/tasks/main.yml')
-rw-r--r--roles/rate_mirrors/tasks/main.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/roles/rate_mirrors/tasks/main.yml b/roles/rate_mirrors/tasks/main.yml
index 7aff26e..8777fbd 100644
--- a/roles/rate_mirrors/tasks/main.yml
+++ b/roles/rate_mirrors/tasks/main.yml
@@ -16,7 +16,11 @@
- name: Rate pacman mirrors
shell: |
- . /etc/os-release && rate-mirrors --allow-root --disable-comments --save=/etc/pacman.d/mirrorlist "$ID"
+ . /etc/os-release && rate-mirrors \
+ --allow-root \
+ --disable-comments \
+ --save=/etc/pacman.d/mirrorlist \
+ "$ID"
- when: etc_versioned
block: