--- - name: Clone ansible.builtin.git: depth: 1 dest: "{{ ansible_user_dir }}/build/vscode-php-debug" force: yes repo: https://github.com/xdebug/vscode-php-debug.git single_branch: yes register: clone tags: - debugger - name: Install ansible.builtin.command: | npm install npm run build args: chdir: "{{ ansible_user_dir }}/build/vscode-php-debug" creates: "{{ ansible_user_dir }}/build/vscode-php-debug/out" when: clone.changed tags: - debugger