添加机器 添加 deno 更新 info

This commit is contained in:
2024-11-13 11:11:34 +08:00
parent 7d64db8dcb
commit d23fd388bc
4 changed files with 85 additions and 1 deletions

17
install-deno.yaml Normal file
View File

@@ -0,0 +1,17 @@
- name: Install deno from IPFS gateway
hosts: all
become: yes
user: root
tasks:
- name: Download the deno file from IPFS gateway
get_url:
url: http://192.168.1.13:8080/ipfs/QmawC2DzXqCjesHMMExuLgYxpN18SHmioKzgaD5hskZvur
dest: /usr/bin/deno
timeout: 300
- name: Set execute permission on deno
file:
path: /usr/bin/deno
mode: '0755'
state: file