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