test-includes/test_includes.yml

30 lines
668 B
YAML

- name: Test Includes Performance
hosts: localhost
connection: local
gather_facts: false
# - name: Install/Remediate/Upgrade Product Functionality
# include_tasks: ../tasks/products/products-install.yml
# loop: "{{ install_products }}"
# loop_control:
# loop_var: install_product
vars:
install_products:
- inc1
- inc2
- inc3
- inc4
- inc5
tasks:
- name: Debug upgrade
ansible.builtin.debug:
msg: "y0"
- name: Includes on loop
ansible.builtin.include_tasks: "includes/{{ item }}.yml"
loop: "{{ install_products }}"