1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-21 05:41:54 +02:00

fix duplicate when

This commit is contained in:
Nick Sweeting
2024-09-17 02:04:41 -07:00
parent 2c8779736a
commit 61df9ea059

View File

@@ -44,10 +44,8 @@
register: node_repo
- name: Update apt cache if repo was added.
when: ansible_facts['os_family']|lower == 'debian'
ansible.builtin.apt: update_cache=yes
when: node_repo is changed
tags: ['skip_ansible_lint']
when: ansible_facts['os_family']|lower == 'debian' and node_repo is changed
- name: Ensure Node.js and npm are installed.
when: ansible_facts['os_family']|lower == 'debian'