I have a dictionary like this

customers:
  abc:
    id: 1
    status: active
  def:
    id: 2
    status: inactive
  ghi:
    id: 3
    status: active
  jkl:
    id: 4
    status: active


What's the easiest (Ansible) way to construct a string like below assigned 
to a variable of the active customers only?

abc,ghi,jkl


-- 
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/126e2578-9a33-481d-bfde-b59c083b3cd9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to