From 809df972069b7ffe2a96f349f181ac019c1717ee Mon Sep 17 00:00:00 2001 From: Alex Tavarez Date: Mon, 21 Jul 2025 16:59:35 -0400 Subject: [PATCH] Added updating/upgrading step to Crowdsec configuration --- roles/bootstrap/handlers/crowdsec.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/roles/bootstrap/handlers/crowdsec.yml b/roles/bootstrap/handlers/crowdsec.yml index 63f1c2f..6475c61 100644 --- a/roles/bootstrap/handlers/crowdsec.yml +++ b/roles/bootstrap/handlers/crowdsec.yml @@ -40,4 +40,14 @@ become: yes become_method: sudo command: - argv: [cscli, collections, install, crowdsecurity/postfix] \ No newline at end of file + argv: [cscli, collections, install, crowdsecurity/postfix] +- name: Update crowdsec objects + become: yes + become_method: sudo + command: + argv: [cscli, hub, update] +- name: Upgrade crowdsec objects + become: yes + become_method: sudo + command: + argv: [cscli, hub, upgrade] \ No newline at end of file