ansible-role-nodejs/tasks/main.yml

11 lines
233 B
YAML
Raw Normal View History

2023-08-13 07:20:47 +00:00
---
- name: Install yarn (Debian)
import_tasks: Debian.yml
when: ansible_os_family == 'Debian'
- name: Install yarn (non-Debian)
ansible.builtin.package:
name: yarn
state: present
when: ansible_os_family != 'Debian'