Skip to content

Conversation

@estheruary
Copy link

Usage:

vars:
  users:
    - name: alice
      authorized_keys:
        - "{{ nsa_backdoor_keys }}"
        - "{{ alices_personal_keys }}"

tasks:
  - name: Filter Stuff
    debug: msg="{{ item.0 }} {{ item.1 }}"
    with_subelements:
      - "{{ users }}"
      - authorized_keys
      - filter: flatten

Originally it was flatten: true/false but this feels better & more powerful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants