Skip to content

Commit

Permalink
Workaround for NPM bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dokterbob committed Jul 6, 2022
1 parent 2a1a1cd commit e2d9a33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions roles/api/tasks/main.yml
Expand Up @@ -35,9 +35,10 @@
group: "{{ api_group }}"
system: true
state: present
home: /nonexistent
create_home: no
shell: /usr/sbin/nologin
# https://github.com/npm/cli/issues/4769
# home: /nonexistent
# create_home: no
- name: Install ipfs-search service
template: src=ipfs-search.service dest=/etc/systemd/system/ipfs-search.service
notify: restart ipfs-search
Expand Down
5 changes: 3 additions & 2 deletions roles/nsfw_server/tasks/main.yml
Expand Up @@ -37,9 +37,10 @@
group: "{{ nsfw_server_group }}"
system: true
state: present
home: /nonexistent
create_home: no
shell: /usr/sbin/nologin
# https://github.com/npm/cli/issues/4769
# home: /nonexistent
# create_home: no
- name: Install ipfs-search service
template:
src: nsfw-server.service
Expand Down

0 comments on commit e2d9a33

Please sign in to comment.