Please look at the screenshot in below link. Ansible shows an error that ‘could not find expected :’. However as shown in the screenshot, the palce where it indicates an error, that palce already has the ‘:’. Why does ansible show this?
https://drive.google.com/file/d/12JaxoVzORLBu21WrIhFSa-tndumTkX79/view?usp=sharing
I cannot tell for sure without seeing the code of this task, but could it perhaps be, that you forgot a “-” at the before “register”?
Hi Vikram,
Please include the full playbook.
Hi,
‘-’ shouldn’t be used for register module. I later found that there was an empty space after the line which was causing the error.