Skip to content

ait-cs-IaaS/acr-ansible-copy-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible-Role: acr-ansible-copy-files

AIT-CyberRange: Copies files and directories to remote host.

Requirements

  • Debian or Ubuntu

Role Variables

files_basedir: /path/on/localhost/
files_subfolders:
  - subdir
files_destination: /path/on/remote/machine
files_owner: username

Example Playbook

- hosts: all
  roles:
    - acr-ansible-copy-files
      vars:
        files_basedir: "{{ local_ansible_dir }}/data/desktop_files/"
        files_subfolders: '{{ desktop_files }}'
        files_owner: "{{ client_user.username }}"
        files_destination: /home/{{ client_user.username }}/Desktop/

License

GPL-3.0

Author

  • Lenhard Reuter

About

Copies files and directories to remote machine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published