diff --git a/test_includes.yml b/test_includes.yml index bc382fa..848aef2 100644 --- a/test_includes.yml +++ b/test_includes.yml @@ -32,6 +32,13 @@ msg: "{{ item }}" loop: "{{ install_products }}" + + - name: Loop vars if host match again + when: host_match in inventory_hostname + ansible.builtin.debug: + msg: "{{ item }}" + loop: "{{ install_products }}" + # - name: Includes on loop # ansible.builtin.include_tasks: "includes/{{ item }}.yml" # loop: "{{ install_products }}"