--- - when: crowdsec_install_mode != 'none' block: - name: Download crowdsec get_url: url: "{{ crowdsec_archive_url }}" dest: /tmp/ checksum: sha1:{{ crowdsec_archive_sha1 }} - name: Extract crowdsec unarchive: src: /tmp/crowdsec-release.tgz dest: /tmp/ remote_src: True - name: Install or upgrade crowdsec command: ./wizard.sh --bin{{ crowdsec_install_mode }} args: chdir: /tmp/crowdsec-v{{ crowdsec_version }}/ notify: restart crowdsec - name: Update crowdsec hub command: cscli hub update tags: crowdsec