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:
@@ -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'
|
||||
|
Reference in New Issue
Block a user