Trying to copy ntp.conf from source sever to destination server failing

I’m able to run an ad-hoc command that can send the ntp,conf file from source to destination server /tmp directory as my normal user id. However when I try to copy to /etc/ I get permission denied. I do have sudo rights on destination server.

I’m trying to write a playbook that will move the file with my escalated credentials and it is failing.

vi of main.yml for ntp.yml playbook:

- name install ntp config file
    become: true
  - copy:
    src: /etc/ntp.conf
    dest: /etc/ntp.conf
    owner: root
    group: root
    mode: 0644

These are 2 tasks, you are not applying become to copy. Your
indentation is also all wrong.

  - name install ntp config file
    become: true
    copy:
      src: /etc/ntp.conf
      dest: /etc/ntp.conf
      owner: root
      group: root
      mode: 0644