Browse Source

[ntfy] Build it, don't install it

Colin Powell 3 years ago
parent
commit
8babf3d23f
1 changed files with 5 additions and 2 deletions
  1. 5 2
      ansible/roles/ntfy/tasks/main.yml

+ 5 - 2
ansible/roles/ntfy/tasks/main.yml

@@ -21,17 +21,20 @@
   tags:
     - build
 
+- name: Pip linked to pip3
+  file: src=/usr/local/bin/pip dest=/usr/local/bin/pip3 state=link
+
 - name: Ntfy documentation and webapp built
   shell:
     chdir: /usr/local/src/ntfy
-    cmd: make docs & make web
+    cmd: make docs && make web
   tags:
     - build
 
 - name: Ntfy binary built
   shell:
     chdir: /usr/local/src/ntfy
-    cmd: go install heckel.io/ntfy@latest
+    cmd: go build .
 
 - name: Install ntfy
   ansible.builtin.copy: