mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-22 04:03:06 +00:00
fix duplicate when
This commit is contained in:
parent
2c8779736a
commit
61df9ea059
1 changed files with 1 additions and 3 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue