Maybe loop across a list of the keys? Suggestion from deep ignorance... On Tue, Apr 17, 2018 at 11:29 AM, Eric Feldhusen <efeldhusen.li...@gmail.com > wrote:
> I have a user that is a deploy-style user for a specific project, so I'm > trying to figure out if it's possible to use the authorized_key module to > do that. > > I've tried something like this below and I get an error attempting to run > it. > > tasks: > - name: Set deploy-user authorized key from github url > authorized_key: > user: deploy-user > state: present > key: > - https://github.com/username1.keys > - https://github.com/username2.keys > - https://github.com/username3.keys > > > I've tried a couple of other options with no luck. > > Any suggestions? > > Eric Feldhusen > > -- > 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 post to this group, send email to firstname.lastname@example.org. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/ansible-project/CAAE5Hwgey0nH-srTpLCXraju_ > 7nD2w1RULxXpuet%3DAPYzE6XnQ%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAAE5Hwgey0nH-srTpLCXraju_7nD2w1RULxXpuet%3DAPYzE6XnQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Karl Auer Email : ka...@2pisoftware.com Website: http://2pisoftware.com GPG/PGP : 958A 2647 6C44 D376 3D63 86A5 FFB2 20BC 0257 5816 Previous: F0AB 6C70 A49D 1927 6E05 81E7 AD95 268F 2AB6 40EA -- 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 post to this group, send email to email@example.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2B%2BT08T208QoukMViNLU9%2BELRKwznPT0QYtVo_yDXf2wkFjeBw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.