[ansible-project] Ansible shows error that says missing ':' even when it is already present

2021-03-26 Thread Vikram S
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-t

Re: [ansible-project] Ansible shows error that says missing ':' even when it is already present

2021-03-26 Thread Lars Liedtke
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"? Am 26.03.21 um 14:13 schrieb Vikram S: > > Please look at the screenshot in below link. Ansible shows an error > that 'could not find expected :'. However as shown

Re: [ansible-project] Ansible shows error that says missing ':' even when it is already present

2021-03-28 Thread Abhijeet Kasurde
Hi Vikram, Please include the full playbook. On Fri, Mar 26, 2021 at 6:48 PM Lars Liedtke wrote: > 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"? > Am 26.03.21 um 14:13 schrieb Vikram S: > > Please look at

Re: [ansible-project] Ansible shows error that says missing ':' even when it is already present

2021-03-29 Thread Vikram S
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. On Friday, 26 March, 2021 at 6:48:02 pm UTC+5:30 lie...@punkt.de wrote: > I cannot tell for sure without seeing the code of this task, but could it > perhaps b