1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_packages.git synced 2024-08-16 10:19:51 +02:00

change with_items to loop

This commit is contained in:
L3D 2023-08-01 21:27:00 +02:00
parent 5666c1af23
commit bfc59ae4cb
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 2 additions and 2 deletions

View file

@ -57,4 +57,4 @@
ansible.builtin.package: ansible.builtin.package:
name: "{{ item }}" name: "{{ item }}"
state: "{{ l3d_pkgs__package_state }}" state: "{{ l3d_pkgs__package_state }}"
with_items: "{{ l3d_pkgs__install }}" loop: "{{ l3d_pkgs__install | flatten(1) }}"

View file

@ -50,5 +50,5 @@ l3d_pkgs__cli:
- bzip2 - bzip2
- jq - jq
playbook_version_number: 6 playbook_version_number: 7
playbook_version_path: 'l3d.base.packages.version' playbook_version_path: 'l3d.base.packages.version'