Hi,
THX for quick answer
Sorry I'm sill beginner in ansible,
But is it possible to combine that with some loop?
In https://docs.ansible.com/playbooks_loops.html i can't see example like
that
shout i use a nested (with_nested:) because it will look like
/SVN_PATH/keys/root
/SVN_PATH/keys/deploy
/SVN_PATH/keys/ubuntu
/SVN_PATH/keys/......
On Monday, 29 June 2015 14:49:48 UTC+2, Brian Coca wrote:
>
> lookup('pipe','ls -1 /SVN_PATH/keys/ |grep -v root') ?
>
> On Mon, Jun 29, 2015 at 7:43 AM, wojtas <[email protected]
> <javascript:>> wrote:
> > Hi Brian
> > Yes i did smt like that, but i have a problem with file lookup's.
> > What I want to make is
> > - checkout repo (simple)
> > - root is static (assmble from /SVN_PATH/keys/root/* to
> > /root/.ssh/auth_keys)
> > - for $(ls -1 /SVN_PATH/keys/ |grep -v root) ;do assemble
> > /home/username_from_for_loop/.ssh/auth_keys;done
> > (that is tricky one and i have no idea how can manage to do that).
> >
> > Can You help me with that, please ?
> >
> >
> > On Tuesday, 23 June 2015 16:02:56 UTC+2, Brian Coca wrote:
> >>
> >> or just use 2 tasks, svn task to checkout files, assemble task to use
> >> them?
> >>
> >> ------
> >> Brian Coca
> >>
> >>
> >> --
> >> Brian Coca
> >>
> > --
> > 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 [email protected] <javascript:>.
> > To post to this group, send email to [email protected]
> <javascript:>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/ansible-project/1919d557-a293-47f2-a368-ab7837ddaf9f%40googlegroups.com.
>
>
> >
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Brian Coca
>
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/6f211d74-5571-4f13-ac5e-602335d59410%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.