Hi@akhtar,
You can use the copy module in your Ansible playbook. This module can copy one or more files to the remote system. But you need to use the item keyword in your playbook for multiple files as shown below.
- name: Copy files
copy:
dest: /etc/yum.repos.d/
src: files/{{ item }}
with_items:
- yum.repo
- docker.repo
- K8.repo