geerlingguy / ansible-role-nodejs

Ansible Role - Node.js
https://galaxy.ansible.com/geerlingguy/nodejs/
MIT License
410 stars 252 forks source link

Update setup-Debian.yml #157

Closed rocketwu closed 8 months ago

rocketwu commented 9 months ago

make same change as https://github.com/geerlingguy/ansible-role-docker/pull/268/files

neilyoung commented 6 months ago

This helps me in this case:

pre_tasks:
   - name: UPDATE-APT - Update repositories cache and upgrade
      tags: update-apt
      apt:
        upgrade: yes
        update_cache: yes