- name: elektra module example
  hosts: localhost
  connection: local
  collections:
    - elektra_initiative.libelektra
  tasks:
    - name: set example fruits
      elektra:
        mountpoint: user:/test/example/fruit
        keys:
          apple:
            value: pie
          cherries:
            value: cola
            meta:
              # This adds the type metakey with value string to the key user:/test/example/fruit/cherry
              type: string
#          berries:
#              raspberry:
#                value: pi
#              blueberry:
#                value: muffin
#    - name: set example vegetables
#      elektra:
#        mountpoint: user:/test/example/vegetables
#        keys:
#          tomato:
#              value: ketchup
#          potato:
#              value: fries
#              meta:
#                # This adds the type metakey with value string to the key user:/test/example/vegetables/potato
#                type: string
