- name: Copy the scripts directory to the remote node synchronize: # src is relative to the dir the playbook is in on the executor src: ../../jenkins/scripts dest: "{{ ansible_user_dir }}"