Como criar variável Ansible da string

Por exemplo:

Eu tenho variável {{ami_redhat_7_2}} que eu quero usar

vars:
  OsType: redhat
  OsVersion: '7_2'

tasks:
- debug: 'msg="{{ ami_{{OsType}}_{{ OsVersion }} }}"'

Eu recebi o erro:

fatal: [localhost]: FAILED! => {
    "failed": true,
    "msg": "template error while templating string: expected token 'end of print statement', got '{'. String: {{ ami_{{ OsType }}_{{ OsVersion }} }}"
}

questionAnswers(1)

yourAnswerToTheQuestion