UNPKG

@eu4ia/node-red-contrib-awx

Version:

Node to launch playbooks in awx

14 lines 407 B
module.exports = function(RED) { function AwxConfigNode(n) { RED.nodes.createNode(this,n); this.host = n.host; this.rejectUnauthorized = n.rejectUnauthorized; this.useTLS = n.useTLS; this.token = this.credentials.token; } RED.nodes.registerType("awx-config", AwxConfigNode, { credentials: { token: {type:"password"} } }); }