--- name: test type: pipeline steps: - name: "Notify completed uncategorized torrents" commands: - > curl -H "Content-Type: application/json" -d '{"username": "cute anime girl", "content": "{{ torrent.name }} complete"}' when: - '{{ changes.state == "uploading" }}' - '{{ torrent.category == "" }}'