fix(*): add loop control and loop var variables

This commit is contained in:
Oliver Davies 2022-04-26 20:51:24 +01:00
parent c8dca4e168
commit 87526f3b4d
4 changed files with 15 additions and 7 deletions

View file

@ -1,9 +1,11 @@
---
- name: Install
community.general.npm:
name: "{{ item }}"
name: "{{ npm_install_item }}"
state: latest
global: true
loop_control:
loop_var: npm_install_item
with_items:
- "@ansible/ansible-language-server"
- "@tailwindcss/language-server"