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