Moin!

On 4 Mar 2019, at 16:55, Kai Stian Olstad wrote:
The correct syntax for nested list is

  stub2:
    - - mystub2,example.net
      - - - ns1.mystub2.example.net
          - - 192.0.2.5

or

  stub2:
    -
      - mystub2,example.net
      -
        -
          - ns1.mystub2.example.net
          -
            - 192.0.2.5

Thanks a lot. That was the trick I was looking for. You missed one array ( the structure is complex ;-). Fully correct the yams represantion is:

        stub2:
          -
            - mystub2,example.net
            -
              -
                - ns1.mystub2.example.net
                -
                  - 192.0.2.
        stub2:
          - - mystub2,example.net
            - - - - ns1.mystub2.example.net
                - - 192.0.2.5

but that was easy to fix myself, so thanks again.

So long
-Ralf
—--
Ralf Weber

--
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/A9538E4C-62F7-43BC-9AAB-F6BC397E1114%40fl1ger.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to