> Solved it: 
>

vars:
  FIREWALLD_ZONE_SERVICE_CLEAR:
    ZONES:
      - public
      - trusted
    SERVICES:
      - SERVICE: http
        STATE: disabled
      - SERVICE: https
        STATE: disabled

Strokes at ZONES and SERVICES were wrong. They are not lists.

task:
  - name: Debug FIREWALLD_ZONE_SERVICE
    debug:
      msg: "{{ item.0 }} {{ item.1.SERVICE }}/{{ item.1.STATE }}"
    loop: "{{ 
FIREWALLD_ZONE_SERVICE.ZONES|product(FIREWALLD_ZONE_SERVICE.SERVICES)|list 
}}"



-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/083d1862-d83c-48d4-a124-2920f7a1dd95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to