diff sync.py @ 92:a915000bad75

bang has a local (drewp) syncthing now
author drewp@bigasterisk.com
date Fri, 15 Jul 2022 14:27:01 -0700
parents 67fc0d4b1859
children 8b8ef9d8f0fd
line wrap: on
line diff
--- a/sync.py	Fri Jul 15 14:26:37 2022 -0700
+++ b/sync.py	Fri Jul 15 14:27:01 2022 -0700
@@ -2,9 +2,9 @@
 from pyinfra.facts.server import LinuxDistribution
 from pyinfra.operations import apt, systemd
 
-# bang instance is in k8s (/my/serv/filesync/syncthing); the rest are run with systemd.
+# primary instance is in k8s (/my/serv/filesync/syncthing); the rest are run with systemd.
 # Configs are in ~/.config/syncthing/ on each box
-if host.name in ['dash', 'dot', 'slash', 'plus']:
+if host.name in ['dash', 'dot', 'slash', 'plus', 'bang']:
     apt.packages(packages=['syncthing'])
 
     # now we have /lib/systemd/system/syncthing@.service