Adeguating tftp tasks for v7.

This commit is contained in:
Emiliano Vavassori 2018-11-28 00:41:11 +01:00
parent dec0f5a6cc
commit a57ba6a533

View File

@ -1,10 +1,7 @@
--- ---
# TFTP # TFTP
- name: Installing TFTP # TFTP is included in DHCP module in NethServer 7
yum:
name: nethserver-tftp
state: present
- name: Checking TFTP configuration - name: Checking TFTP configuration
shell: /sbin/e-smith/db configuration getprop dnsmasq dhcp-boot shell: /sbin/e-smith/db configuration getprop dnsmasq dhcp-boot
@ -13,7 +10,7 @@
ignore_errors: yes ignore_errors: yes
- name: Configuring TFTP - 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 when: chk_tftp_enabled|changed
- name: Activating tftp - name: Activating tftp