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 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 > <https://drive.google.com/file/d/12JaxoVzORLBu21WrIhFSa-tndumTkX79/view?usp=sharing> > > -- > You received this message because you are subscribed to the Google > Groups "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to ansible-project+unsubscr...@googlegroups.com > <mailto:ansible-project+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/507c763f-5a09-4832-911b-d7886c5c4ec5n%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/507c763f-5a09-4832-911b-d7886c5c4ec5n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- --- punkt.de GmbH Lars Liedtke .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109 500 https://infrastructure.punkt.de i...@punkt.de AG Mannheim 108285 Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/abe11f2f-c536-7cf3-de3b-7549f5865b8b%40punkt.de.