diff net.py @ 17:0c1496e11b8f

get skaffold on hosts that want to do deploys
author drewp@bigasterisk.com
date Sat, 13 Nov 2021 13:51:55 -0800
parents 516a91a3ec08
children 301dad3cdb7b
line wrap: on
line diff
--- a/net.py	Sat Nov 13 13:51:26 2021 -0800
+++ b/net.py	Sat Nov 13 13:51:55 2021 -0800
@@ -3,10 +3,8 @@
 from pyinfra.facts.server import LinuxDistribution
 from pyinfra.operations import apt, files, server, systemd
 
-bang_is_old = True
 is_pi = host.get_fact(LinuxDistribution)['name'] in ['Debian', 'Raspbian GNU/Linux']
 is_wifi = host.name in ['frontdoor', 'living', 'plus']
-ssh_host = host.host_data.get('ssh_hostname', host.name)
 
 if is_wifi:
     # todo: netplan could do this, below