Closed shantanoo-desai closed 11 months ago
uri
module is causing corruption issues on the node-RED server see SE QueryThe only way that currently seems to be wrapping a command
module with curl
:
- name: upload tarballs for Node-RED
ansible.builtin.command:
cmd: >
curl -s -XPOST http://localhost/nodered/nodes -H "Content-Type: multipart/form-data" \
-H "Authorization: {{ auth_token.json.token_type }} {{ auth_token.json.access_token }}" \
-F "tarball=@{{ komponist.deploy_dir }}/nodered/{{ item }};type=application/gzip;filename={{ item }}"
with_items:
- node-red-contrib-influxdb-0.6.1.tgz
Description
Extend #111 + #110 and combine the logic of #112 where the same
bootstrap_nodered.yml
playbook can install nodes (komponist + user-specific from nodes).tags
to offer user whether they want to download the tarballs offlinenodes.json
with all nodes (komponist + user-specific)