From cd0db89e0a8eb389a305001171f6a835d3caa6fb Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 26 Jan 2023 16:17:50 +0100 Subject: shorten long command lines --- roles/pacman/tasks/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'roles/pacman') diff --git a/roles/pacman/tasks/main.yml b/roles/pacman/tasks/main.yml index 1669920..e628873 100644 --- a/roles/pacman/tasks/main.yml +++ b/roles/pacman/tasks/main.yml @@ -31,7 +31,10 @@ when: not git_status.stdout - name: All changes in /etc are in pacman.d/gnupg? - shell: git status --porcelain=v1 | cut -c 4- | grep -G -v '^pacman.d/gnupg/' + shell: | + git status --porcelain=v1 \ + | cut -c 4- \ + | grep -G -v '^pacman.d/gnupg/' args: chdir: /etc register: only_gnupg -- cgit v1.2.3