Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@
remote_dir: /var/log
local_dir: /tmp
action: get
checksum: True
checksum: true
file: log.txt
- name: Copy a local file into /var/tmp on the remote device
juniper.device.file_copy:
protocol: ftp
remote_dir: /var/tmp
local_dir: /tmp
action: put
checksum: False
checksum: false
file: license.txt
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
ansible.builtin.include_tasks: local.yml


#- name: Invoke netconf tasks
# ansible.builtin.include_tasks: pyez.yml
# - name: Invoke netconf tasks
# ansible.builtin.include_tasks: pyez.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
remote_dir: /var/log
file: default_log.txt
transfer_filename: transfer_log.txt
checksum: False
checksum: false
action: put
register: test1
ignore_errors: true
Expand All @@ -191,7 +191,7 @@
protocol: scp
local_dir: /tmp
remote_dir: /var/log
checksum: False
checksum: false
file: transfer_log.txt
transfer_filename: local_log.txt
action: get
Expand Down Expand Up @@ -224,7 +224,7 @@
protocol: ftp
local_dir: /var/tmp
remote_dir: /var/log
checksum: False
checksum: false
file: remote_log.txt
transfer_filename: remote_log.txt
action: get
Expand Down