Copy Apache config files with Ansible example

- name: Copy Apache config files
  copy:
    src: "{{ item.conf }}"
    dest: /etc/httpd/{{ item.dir }}/{{ item.conf }}
  become: yes
  with_items:
    - { conf: 'ssl.conf', dir: 'conf.d' }
    - { conf: 'httpd.conf', dir: 'conf' }
  notify: Restart Apache