buluma.node_red
Ansible Role: Node RED
This role installs and sets up Node RED on your machine.
| GitHub | Version | Issues | Pull Requests | Downloads |
|---|---|---|---|---|
Example Playbook
This example is taken from molecule/default/converge.yml and is tested every time there is a code change or release.
---
- name: Setup Node RED
hosts: all
become: yes
gather_facts: yes
roles:
- role: buluma.node_red
Before running this, prepare your machine with a setup in molecule/default/prepare.yml:
---
- name: Prepare Machine
hosts: all
become: yes
gather_facts: no
roles:
- role: buluma.bootstrap
- role: buluma.ca_certificates
- role: buluma.epel
- role: buluma.npm
- role: buluma.users
users_group_list:
- name: nodered
users_user_list:
- name: nodered
group: nodered
You can also check a detailed explanation and example for using these roles.
Role Variables
Default variable values are found in defaults/main.yml:
---
# Defaults for Node RED
# Directory for Node RED to run from.
node_red_working_directory: /opt/node_red
# User under which Node RED should run.
# User creation is not handled here, see `molecule/default/prepare.yml`.
node_red_user_name: nodered
# Group for Node RED to run under.
# Group creation is not handled here, see `molecule/default/prepare.yml`.
node_red_group_name: nodered
Requirements
- Python packages listed in requirements.txt.
System Preparation Roles
The following roles are used to set up the system. You can choose a different setup method.
| Requirement | GitHub | Version |
|---|---|---|
| buluma.bootstrap | ||
| buluma.ca_certificates | ||
| buluma.epel | ||
| buluma.npm | ||
| buluma.service | ||
| buluma.users |
Additional Information
This role works well with other roles. For more information, check out the documentation for these roles.
Compatibility
This role has been tested on the following container images:
| Container | Tags |
|---|---|
| Debian | bullseye |
| EL | 8 |
| Fedora | all |
| Ubuntu | focal |
| Kali | all |
Ansible version 2.12 or higher is required. Tests have been performed on:
- The previous version.
- The current version.
- The development version.
If you encounter any problems, please report them on GitHub.
Change Log
For role history, see the changelog.
License
This project is licensed under the Apache-2.0 license.
Author Information
Created by Shadow Walker.
ansible-galaxy install buluma.node_red