소스 검색

[ntfy] Build it, don't install it

Colin Powell 3 년 전
부모
커밋
8babf3d23f
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  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: