aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/pacman
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-08-04 23:49:46 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-08-04 23:49:46 +0200
commitc5e3b4e6336ec3843baba63016c04695ca3ef39f (patch)
tree36829e243f1d8eb779708173e4ed26eac81a5ff1 /roles/pacman
parentremove trailing whitespace (diff)
downloadmaintenance-c5e3b4e6336ec3843baba63016c04695ca3ef39f.tar.gz
maintenance-c5e3b4e6336ec3843baba63016c04695ca3ef39f.zip
rename tasks
Diffstat (limited to 'roles/pacman')
-rw-r--r--roles/pacman/tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/pacman/tasks/main.yml b/roles/pacman/tasks/main.yml
index 969f621..bbcdddc 100644
--- a/roles/pacman/tasks/main.yml
+++ b/roles/pacman/tasks/main.yml
@@ -25,7 +25,7 @@
msg: Upgrading packages failed for an unknown reason!
when: not etc_versioned
- - name: There are uncommitted changes
+ - name: Check for changes in /etc
command: git status --porcelain=v1
args:
chdir: /etc
@@ -37,7 +37,7 @@
msg: Upgrading packages failed for an unknown reason!
when: not git_status.stdout
- - name: All changes are pacman.d/gnupg
+ - name: All changes in /etc are in pacman.d/gnupg?
shell: git status --porcelain=v1 | cut -c 4- | grep -G -v '^pacman.d/gnupg/'
args:
chdir: /etc
@@ -45,7 +45,7 @@
changed_when: no
failed_when: no
- - name: Commit pacman.d/gnupg
+ - name: Commit changes in /etc
command: |
etckeeper commit 'pacman: GPG keys'
when: git_status.stdout and only_gnupg.rc != 0