playbook.yml to upper code example Example: ansible convert to upper case {{ ansible_hostname|upper }}