HI,
I am familiar with this ansible coding. Right now, ansible updated to 2.7. While running/checking the syntax of a code. I am getting error as a malformed block was encountered while loading a block.
I found that problem is with ansible keyword "roles". In ansible 2.7, roles syntax changed partially. I am posting my code here. Can anyone help me to resolve this issue...
Code:
---
- name: Deploy project
hosts: localhost
roles:
- san
vars_files:
- /var/lib/project-admin/answerfile.yml
- /var/lib/project/answerfile.yml
The same code is working fine with ansible 2.0.0 version.
Thank you,
Regards
Vuppala Jagadeesh