From d4ab5684cfe5ce16fab6f604ef49843a1e78f946 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sat, 15 Oct 2022 01:24:28 -0400 Subject: Work around docker not having sudo --- pad/tasks/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pad') diff --git a/pad/tasks/main.yml b/pad/tasks/main.yml index 42ed834..6ad06f2 100644 --- a/pad/tasks/main.yml +++ b/pad/tasks/main.yml @@ -1,13 +1,13 @@ --- # tasks file for pad - name: Set up packages as root - become: true block: - name: Add GPG apt: update_cache: yes name: - gpg + - sudo - name: Add nodesource key apt_key: url: https://deb.nodesource.com/gpgkey/nodesource.gpg.key @@ -50,10 +50,10 @@ dest: "{{ etherpad_path }}/settings.json" - name: Install dependencies shell: cd {{ etherpad_path }}; . src/bin/functions.sh; src/bin/installDeps.sh - # - name: Install etherpad plugins - # npm: - # name: ep_pad-lister - # path: "{{ etherpad_path }}" + - name: Install etherpad plugins + npm: + name: ep_scrolltoanchor + path: "{{ etherpad_path }}" - name: Change ownership file: dest: /home/etherpad/etherpad -- cgit v1.2.3