Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump thelounge to 3.3.0 + bump Node.je to 13.x #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ thelounge_prefetch: false
thelounge_reverse_proxy: false
thelounge_theme: default
thelounge_users: []
thelounge_version: "3.0.1"
thelounge_version: "3.3.0"
15 changes: 7 additions & 8 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---

- name: Check whether the NodeSource script has already been executed
command: grep -Fq "node_8.x" /etc/apt/sources.list.d/nodesource.list
command: grep -Fq "node_13.x" /etc/apt/sources.list.d/nodesource.list
register: correct_nodesource_version
failed_when: no
changed_when: no

- name: Ensure script to install NodeSource Node.js 8.x repo has been executed
shell: curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
- name: Ensure script to install NodeSource Node.js 13.x repo has been executed
shell: curl -sL https://deb.nodesource.com/setup_13.x | sudo bash -
when: correct_nodesource_version.rc != 0
become: yes

- name: Ensure that the latest version of Node.js 8.x (LTS) is installed
- name: Ensure that the latest version of Node.js 13.x (LTS) is installed
apt:
pkg: nodejs
state: latest
Expand All @@ -31,12 +31,11 @@

- name: Ensure Yarn and Supervisor are installed
apt:
pkg: "{{ item }}"
pkg:
- yarn
- supervisor
state: present
update_cache: yes
with_items:
- yarn
- supervisor
become: yes

- name: Ensure thelounge package is installed
Expand Down