summaryrefslogtreecommitdiffstats
path: root/pad/tasks/main.yml
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-10-15 01:24:28 -0400
committerSacha Chua <sacha@sachachua.com>2022-10-15 01:24:28 -0400
commitd4ab5684cfe5ce16fab6f604ef49843a1e78f946 (patch)
treef8d71aae5814a1e4330d4ca2a4457dd6ab27d128 /pad/tasks/main.yml
parent4229be28d7ecbafe1747af03c4267164b0801abe (diff)
downloademacsconf-ansible-d4ab5684cfe5ce16fab6f604ef49843a1e78f946.tar.xz
emacsconf-ansible-d4ab5684cfe5ce16fab6f604ef49843a1e78f946.zip
Work around docker not having sudo
Diffstat (limited to 'pad/tasks/main.yml')
-rw-r--r--pad/tasks/main.yml10
1 files changed, 5 insertions, 5 deletions
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