---
  - hosts: nodes
    become: yes
    become_user: root
    remote_user: centos

    tasks:
      - name: Synchronization
        copy:
          src: monitoring/
          dest: "/opt/monitoring/"
          owner: root
          group: root
          mode: 0644
        become: true
