- name: Create repository file '/etc/apt/sources.list.d/nodesource.list'
  copy:
    dest: /etc/apt/sources.list.d/nodesource.list
    group: root
    owner: root
    mode: 0644
    content: |
      deb [arch=arm64 signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
