ansible-role-tftpd-hpa/tasks/config_tftpd.yml
Larry Smith Jr f7eb8358fe Added tasks to configure tftpd
Signed-off-by: Larry Smith Jr <mrlesmithjr@gmail.com>
2016-01-20 17:52:24 -05:00

23 lines
506 B
YAML

---
- name: config_tftpd | ensuring tftp_directory exists
file:
dest: "{{ tftp_directory }}"
state: directory
- name: config_tftpd | configuring tftpd
template:
src: "etc/default/tftpd-hpa.j2"
dest: "/etc/default/tftpd-hpa"
owner: root
group: root
mode: 0644
notify: restart tftpd-hpa
- name: config_tftpd | configuring inetd
template:
src: "etc/inetd.conf.j2"
dest: "/etc/inetd.conf"
owner: root
group: root
mode: 0644
notify: restart tftpd-hpa