File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 106
106
creates : " {{ ipfs_home }}/.ipfs/config"
107
107
notify : restart IPFS
108
108
109
+ - name : download and unpack NOpfs
110
+ when : not ansible_check_mode
111
+ block :
112
+ - name : create plugins folder
113
+ become : yes
114
+ file :
115
+ state : directory
116
+ owner : ipfs
117
+ group : ipfs
118
+ dest : " {{ ipfs_home }}/.ipfs/plugins"
119
+
120
+ - name : download and unpack nopfs
121
+ when : not ansible_check_mode
122
+ become : yes
123
+ unarchive :
124
+ remote_src : yes
125
+ src : " https://github.com/ipfs-shipyard/nopfs/releases/download/nopfs-kubo-plugin/{{nopfs_version}}/nopfs-kubo-plugin_{{nopfs_version}}_linux_{{ipfs_arch}}.tar.gz"
126
+ dest : " {{ ipfs_home }}/.ipfs/plugins/"
127
+ include :
128
+ - nopfs-kubo-plugin/nopfs-kubo-plugin
129
+ extra_opts :
130
+ - " --strip-components=1"
131
+ owner : ipfs
132
+ group : ipfs
133
+ notify : restart IPFS
134
+ tags :
135
+ - nopfs
136
+
109
137
- name : set version file (to notify restart on upgrades)
110
138
become : yes
111
139
copy :
115
143
owner : ipfs
116
144
group : ipfs
117
145
notify : restart IPFS
118
-
146
+
119
147
- name : reload systemd
120
148
become : yes
121
149
systemd :
You can’t perform that action at this time.
0 commit comments