2024-09/08/copy_3files_debug.yml

12 lines
292 B
YAML
Raw Permalink Normal View History

2024-09-18 12:10:05 +00:00
---
- hosts: localhost
tasks:
- name: "[DEBUG] Copy 3 files"
ansible.builtin.debug:
msg: "src={{ item.0 }} dest={{ item.1 }}"
loop:
- [config1.cfg, /etc/config1.cfg]
- [config2.cfg, /etc/config2.cfg]
- [config3.cfg, /etc/daemon/config3.cfg]