From a57ba6a53323f92ae1adff50bb704a6fcf8d9472 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Wed, 28 Nov 2018 00:41:11 +0100 Subject: [PATCH] Adeguating tftp tasks for v7. --- roles/pxe/tasks/tftp.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/roles/pxe/tasks/tftp.yml b/roles/pxe/tasks/tftp.yml index 8d260ca..8469fc4 100644 --- a/roles/pxe/tasks/tftp.yml +++ b/roles/pxe/tasks/tftp.yml @@ -1,10 +1,7 @@ --- # TFTP -- name: Installing TFTP - yum: - name: nethserver-tftp - state: present +# TFTP is included in DHCP module in NethServer 7 - name: Checking TFTP configuration shell: /sbin/e-smith/db configuration getprop dnsmasq dhcp-boot @@ -13,7 +10,7 @@ ignore_errors: yes - name: Configuring TFTP - shell: /sbin/e-smith/db configuration setprop dnsmasq tftp-status enabled dhcp-boot pxelinux.0 + shell: /sbin/e-smith/db configuration setprop dnsmasq dhcp-boot pxelinux.0 when: chk_tftp_enabled|changed - name: Activating tftp