ncstate / ncstate.network / 1.1.3 / module / tftp_send Send data directly to TFTP server from where ansible runs. Authors: Matt Haught (@haught)ncstate.network.tftp_send (1.1.3) — module
Install with ansible-galaxy collection install ncstate.network:==1.1.3
collections: - name: ncstate.network version: 1.1.3
This module allows sending files and text using TFTP.
The module sends from wherever the playbook is run.
src: description: - The text of the source file. required: true type: str host: description: - The IP address or hostname of destination TFTP server. required: true type: str port: default: 69 description: - The port of destination TFTP server. required: false type: int blocksize: default: 512 description: - TFTP transfer blocksize. required: false type: int dest_filename: description: - The destination filename. required: true type: str
stdout: description: The set of responses from the commands returned: always apart from low level errors (such as action plugin) sample: - '...' - '...' type: list stdout_lines: description: The value of stdout split into a list returned: always sample: - - '...' - '...' - - '...' - - '...' type: list