fix(*): add loop control and loop var variables
This commit is contained in:
parent
c8dca4e168
commit
87526f3b4d
4 changed files with 15 additions and 7 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue