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