feat: copy file

This commit is contained in:
Ditmar Visser
2025-05-28 13:59:15 +00:00
parent 27e807536e
commit ab1826100a
2 changed files with 7 additions and 1 deletions

1
opdracht-2/file.txt Normal file
View File

@ -0,0 +1 @@
this is a file

View File

@ -17,4 +17,9 @@
ansible.builtin.user:
name: test
shell: /bin/bash
state: present
state: present
- name: Copy file to user folder
ansible.builtin.copy:
src: ./file.txt
dest: /tmp/file.txt
mode: '0644'