single-step script to perform all administration, some ansible performance settings

This commit is contained in:
John McCardle 2022-02-10 18:35:07 -05:00
commit 4fda00bfb5
8 changed files with 60 additions and 1 deletions

View file

@ -1,6 +1,7 @@
---
- name: Install Jupyterhub
hosts: UpskillChallengeNode
gather_facts: no
tasks:
- name: Create NodeJS directory
@ -23,7 +24,7 @@
mode: 0755
- name: run NodeJS configuration script
ansible.builtin.shell: setup_14.x
ansible.builtin.shell: /opt/nodesource/setup_14.x
args:
chdir: /opt/nodesource
creates: /etc/apt/sources.list.d/nodesource.list