summaryrefslogtreecommitdiff
path: root/roles/pacman/tasks/main.yml
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2026-01-03 17:25:43 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2026-01-03 17:25:43 +0000
commit92819a0d5ffc91caa149862dc4db567e697ebb40 (patch)
tree08d67f41610b9569d1d13f989bb744ebf3998a60 /roles/pacman/tasks/main.yml
parentf489cf3b759864cbe47bf7006c281d800bae315d (diff)
downloadinfra-92819a0d5ffc91caa149862dc4db567e697ebb40.tar.gz
infra-92819a0d5ffc91caa149862dc4db567e697ebb40.tar.bz2
infra-92819a0d5ffc91caa149862dc4db567e697ebb40.zip
Add flatbot role
Diffstat (limited to 'roles/pacman/tasks/main.yml')
-rw-r--r--roles/pacman/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/pacman/tasks/main.yml b/roles/pacman/tasks/main.yml
index e7c9a9a..87f4cab 100644
--- a/roles/pacman/tasks/main.yml
+++ b/roles/pacman/tasks/main.yml
@@ -15,8 +15,16 @@
owner: root
group: root
mode: u+rw,g+r,o+r
+ notify:
+ - Update packages db
loop:
- regexp: '^[misc]'
line: '[misc]'
- regexp: '^Include = /etc/pacman.d/misc'
line: 'Include = /etc/pacman.d/misc'
+
+# Usually, handlers run after all tasks are completed, but it doesn't work for
+# this case, because we are going to install package from misc repository, so
+# we need to have package db up to date.
+- name: Force packages db update
+ ansible.builtin.meta: flush_handlers