Skip to content

Commit

Permalink
update the galaxy role info + push to galaxy
Browse files Browse the repository at this point in the history
  • Loading branch information
mjmeijerman committed Oct 9, 2023
1 parent e928a3f commit 100ea0e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/push-to-ansible-galaxy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

---
name: push-to-ansible-galaxy

on:
push:
tags:
- "v*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: galaxy
uses: robertdebock/[email protected]
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Install Node.js and NPM
Requirements
------------

Debian Wheezy/Jessie/Stretch/Buster or Ubuntu Precise/Trusty/Xenial.
Debian Bullseye / Bookworm or Ubuntu Precise/Trusty/Xenial.

Role Variables
--------------
Expand Down
7 changes: 3 additions & 4 deletions meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
---
galaxy_info:
author: Jasper N. Brouwer, Ramon de la Fuente
role_name: nodejs
description: Install Node.js and NPM
company: Future500
license: LGPL-3.0
min_ansible_version: 1.4
platforms:
- name: Debian
versions:
- wheezy
- jessie
- stretch
- buster
- bullseye
- bookworm
- name: Ubuntu
versions:
- precise
Expand Down
6 changes: 4 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---

- name: Add the nodesource.com trusted key
apt_key:
ansible.builtin.url:
url: https://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x1655A0AB68576280
id: "68576280"
dest: /etc/apt/trusted.gpg.d/nodesource.gpg
mode: 0644
force: yes

- name: Add the nodesource.com repository
apt_repository:
Expand Down

0 comments on commit 100ea0e

Please sign in to comment.