Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Commit

Permalink
ipfs: fix restarter condition
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
  • Loading branch information
Lars Gierth committed Nov 11, 2015
1 parent 6142fb0 commit 6dfef4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solarnet/roles/ipfs/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@
name: maybe-restart
cron_file: ipfs-maybe-restart
user: root
when: "inventory_hostname in gateway_group"
when: "inventory_hostname in groups[gateway_group]"
# XXX migration
- cron:
job: /ipfs/maybe-restart.sh 25 docker restart ipfs
state: absent
name: maybe-restart
cron_file: ipfs-maybe-restart
user: root
when: "inventory_hostname not in gateway_group"
when: "inventory_hostname not in groups[gateway_group]"

0 comments on commit 6dfef4b

Please sign in to comment.