Add ExecStartPre to ansible systemd node unit files

This commit is contained in:
Arpan Kapoor 2020-03-01 19:32:19 +05:30
parent 242cfa424c
commit b1d3202461

View File

@ -5,6 +5,8 @@ After=network-online.target
[Service]
Type=notify
ExecStartPre=-/sbin/modprobe br_netfilter
ExecStartPre=-/sbin/modprobe overlay
ExecStart=/usr/local/bin/k3s agent --server https://{{ master_ip }}:6443 --token {{ hostvars[groups['master'][0]]['token'] }}
KillMode=process
Delegate=yes