mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-22 06:03:23 +02:00
fix duplicate when
This commit is contained in:
@@ -44,10 +44,8 @@
|
|||||||
register: node_repo
|
register: node_repo
|
||||||
|
|
||||||
- name: Update apt cache if repo was added.
|
- name: Update apt cache if repo was added.
|
||||||
when: ansible_facts['os_family']|lower == 'debian'
|
|
||||||
ansible.builtin.apt: update_cache=yes
|
ansible.builtin.apt: update_cache=yes
|
||||||
when: node_repo is changed
|
when: ansible_facts['os_family']|lower == 'debian' and node_repo is changed
|
||||||
tags: ['skip_ansible_lint']
|
|
||||||
|
|
||||||
- name: Ensure Node.js and npm are installed.
|
- name: Ensure Node.js and npm are installed.
|
||||||
when: ansible_facts['os_family']|lower == 'debian'
|
when: ansible_facts['os_family']|lower == 'debian'
|
||||||
|
Reference in New Issue
Block a user