Files
configs/playbooks/roles/software_scripts/tasks/main.yml
Morten Olsen dce2196c32 update
2024-12-05 23:29:30 +01:00

15 lines
317 B
YAML

---
- name: "Copy scripts"
tags:
- config
ansible.builtin.copy:
src: "{{ item.src }}"
dest: "{{ home }}/.local/bin/{{ item.path }}"
mode: "0755"
owner: "{{ username }}"
with_community.general.filetree:
- ../files
loop_control:
label: "{{ item.path }}"
when: item.state == 'file'