TASK [Set up multiple authorized ssh] ****************************************** fatal: [web1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'item' is undefined\n\nThe error appears to be in '/home/ndricim/playbooks/00.yml': line 5, column 9, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n tasks:\n
--- - name: Set SSH Key hosts: web1 tasks: - name: Set up multiple authorized ssh authorized_key: user: work state: present key: '{{ item }}' with_key: - /home/ndricim/test/id_rsa2.pub - /home/ndricim/test/id_rsa3.pub -- 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/09e4f6f5-0cde-4828-a82f-d2d618ad29d0n%40googlegroups.com.