original_docstring: Return a dictionary with a single key-value pair
  
      Example:
  
          - hosts: localhost
            gather_facts: false
            vars:
              myvar: myvalue
            tasks:
            - debug:
                msg: "{{ myvar | dict_kv('thatsmyvar') }}"
  
          produces:
  
          ok: [localhost] => {
              "msg": {
                  "thatsmyvar": "myvalue"
              }
          }
  
      Example 2:
  
          - hosts: localhost
            gather_facts: false
            vars:
              common_config:
                type: host
                database: all
              myservers:
              - server1
              - server2
            tasks:
            - debug:
                msg: "{{ myservers | map('dict_kv', 'server') | map('combine', common_config) }}"
  
          produces:
  
          ok: [localhost] => {
              "msg": [
                  {
                      "database": "all",
                      "server": "server1",
                      "type": "host"
                  },
                  {
                      "database": "all",
                      "server": "server2",
                      "type": "host"
                  }
              ]
          }
      
docstring: Return a dictionary with a single key-value pair
docstring_tokens: Return a dictionary with a single key - value pair
code: def dict_kv(value, key):
      '''Return a dictionary with a single key-value pair
  
      Example:
  
          - hosts: localhost
            gather_facts: false
            vars:
              myvar: myvalue
            tasks:
            - debug:
                msg: "{{ myvar | dict_kv('thatsmyvar') }}"
  
          produces:
  
          ok: [localhost] => {
              "msg": {
                  "thatsmyvar": "myvalue"
              }
          }
  
      Example 2:
  
          - hosts: localhost
            gather_facts: false
            vars:
              common_config:
                type: host
                database: all
              myservers:
              - server1
              - server2
            tasks:
            - debug:
                msg: "{{ myservers | map('dict_kv', 'server') | map('combine', common_config) }}"
  
          produces:
  
          ok: [localhost] => {
              "msg": [
                  {
                      "database": "all",
                      "server": "server1",
                      "type": "host"
                  },
                  {
                      "database": "all",
                      "server": "server2",
                      "type": "host"
                  }
              ]
          }
      '''
      return {key: value}
code_tokens: def dict_kv ( value , key ) : return { key : value }
short_docstring: Return a dictionary with a single key-value pair
short_docstring_tokens: Return a dictionary with a single key - value pair
comment: '''Return a dictionary with a single key-value pair
  
      Example:
  
          - hosts: localhost
            gather_facts: false
            vars:
              myvar: myvalue
            tasks:
            - debug:
                msg: "{{ myvar | dict_kv('thatsmyvar') }}"
  
          produces:
  
          ok: [localhost] => {
              "msg": {
                  "thatsmyvar": "myvalue"
              }
          }
  
      Example 2:
  
          - hosts: localhost
            gather_facts: false
            vars:
              common_config:
                type: host
                database: all
              myservers:
              - server1
              - server2
            tasks:
            - debug:
                msg: "{{ myservers | map('dict_kv', 'server') | map('combine', common_config) }}"
  
          produces:
  
          ok: [localhost] => {
              "msg": [
                  {
                      "database": "all",
                      "server": "server1",
                      "type": "host"
                  },
                  {
                      "database": "all",
                      "server": "server2",
                      "type": "host"
                  }
              ]
          }
      '''