Explorar o código

[ntfy] Build it, don't install it

Colin Powell %!s(int64=3) %!d(string=hai) anos
pai
achega
8babf3d23f
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  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: