I'm fairly new to Ansible and trying to understand the YAML file. In that i'm not clear about this piece of line - file: dest={{ '{{' }} docroot {{ '}}' }
. Can some one please explain me what those curly braces '{{' '}}' are doing?
- name: Create Web Root
when: nginxinstalled|success
file: dest={{ '{{' }} docroot {{ '}}' }} mode=775 state=directory owner=www-data group=www-data
notify:
- Reload Nginx