Can I use with_dict for adding authorized_key for users in a user dict?

I have the following simple test playbook, t.yml

Quick follow-up. I also have the test id_rsa.pub in pwd/files/testuser

– Zack

Got it. I used the wrong loop construct. Should have used with_subelements with a different input dict.