Mercurial > code > home > repos > infra
diff sync.py @ 23:67fc0d4b1859
dead code
author | drewp@bigasterisk.com |
---|---|
date | Tue, 28 Dec 2021 22:10:02 -0800 |
parents | ac4d24d01b68 |
children | a915000bad75 |
line wrap: on
line diff
--- a/sync.py Tue Dec 28 22:09:43 2021 -0800 +++ b/sync.py Tue Dec 28 22:10:02 2021 -0800 @@ -2,10 +2,6 @@ from pyinfra.facts.server import LinuxDistribution from pyinfra.operations import apt, systemd -bang_is_old = True # remove after upgrade -is_pi = host.get_fact(LinuxDistribution)['name'] in ['Debian', 'Raspbian GNU/Linux'] -is_wifi_pi = host.name in ['frontdoor', 'living'] - # bang 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']: