- name: Create build directory delegate_to: localhost file: path: './build/scripts' state: directory - name: Concat automation delegate_to: localhost ansible.builtin.assemble: remote_src: no src: '.' dest: './build/scripts/scripts-base.yaml'