--- - name: Copy Traefik configuration files to the server hosts: all become: yes tasks: - name: Synchronize Traefik configuration files synchronize: src: ./traefik_config/ dest: /var/vol/traefik/ rsync_opts: - "--chown=traefik:traefik"