2016-01-20 23:34:45 +01:00
|
|
|
Role Name
|
|
|
|
=========
|
|
|
|
|
2017-04-04 17:43:43 +02:00
|
|
|
An [Ansible] role to install/configure [tftpd-hpa]
|
2016-01-20 23:34:45 +01:00
|
|
|
|
|
|
|
Requirements
|
|
|
|
------------
|
|
|
|
|
2016-01-21 15:50:33 +01:00
|
|
|
None
|
2016-01-20 23:34:45 +01:00
|
|
|
|
|
|
|
Role Variables
|
|
|
|
--------------
|
|
|
|
|
2017-04-04 17:43:43 +02:00
|
|
|
```
|
2016-01-21 15:50:33 +01:00
|
|
|
---
|
|
|
|
# defaults file for ansible-tftpd-hpa
|
2017-04-04 17:43:43 +02:00
|
|
|
|
|
|
|
# Defines tftp root directory
|
|
|
|
tftp_directory: '/var/lib/tftpboot'
|
|
|
|
|
|
|
|
# Defines tftp options for daemon...(-c allow new files to be created)
|
|
|
|
tftp_options: '--secure -c'
|
|
|
|
|
|
|
|
tftp_netboot_file: 'netboot.tar.gz'
|
|
|
|
tftp_netboot_url: 'http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/installer-amd64/current/images/netboot'
|
|
|
|
```
|
2016-01-20 23:34:45 +01:00
|
|
|
|
|
|
|
Dependencies
|
|
|
|
------------
|
|
|
|
|
2016-01-21 15:50:33 +01:00
|
|
|
None
|
2016-01-20 23:34:45 +01:00
|
|
|
|
|
|
|
Example Playbook
|
|
|
|
----------------
|
|
|
|
|
2017-04-04 17:43:43 +02:00
|
|
|
```
|
|
|
|
---
|
|
|
|
- hosts: tftp_servers
|
2016-01-21 15:50:33 +01:00
|
|
|
become: true
|
|
|
|
vars:
|
|
|
|
roles:
|
|
|
|
- role: ansible-tftpd-hpa
|
|
|
|
tasks:
|
2017-04-04 17:43:43 +02:00
|
|
|
```
|
2016-01-20 23:34:45 +01:00
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
BSD
|
|
|
|
|
|
|
|
Author Information
|
|
|
|
------------------
|
|
|
|
|
2017-04-04 17:43:43 +02:00
|
|
|
Larry Smith Jr.
|
|
|
|
- @mrlesmithjr
|
|
|
|
- http://everythingshouldbevirtual.com
|
|
|
|
- mrlesmithjr [at] gmail.com
|
|
|
|
|
|
|
|
[Ansible]: <https://www.ansible.com>
|
|
|
|
[tftpd-hpa]: <https://help.ubuntu.com/community/TFTP>
|