From 1f55b385465af1268116f3295f4b0f56a916fe40 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 17 Feb 2018 20:15:47 +0100 Subject: fix vm-host role --- roles/vm-host/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/vm-host') diff --git a/roles/vm-host/tasks/main.yaml b/roles/vm-host/tasks/main.yaml index 28ac43d7..a5e98fa9 100644 --- a/roles/vm-host/tasks/main.yaml +++ b/roles/vm-host/tasks/main.yaml @@ -12,7 +12,7 @@ - name: configure tftpd via inetd lineinfile: - regexp: "^#?tftp" + regexp: "^#?({{ vm_host.network.ip }}:)?tftp" line: "{{ vm_host.network.ip }}:tftp dgram udp4 wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 300 --retry-timeout 5 --maxthread 10 --verbose=5 {{ vm_host.installer.preseed_path }}" path: /etc/inetd.conf notify: restart inetd -- cgit v1.2.3