Hey Brian. Thanks for the response. Yeah I definitely agree this is a noop.
My question is how do I make is so that it loads RVM and ansible_env.PATH
will include paths such as /home/ubuntu/.rvm/gems/ruby-2.2.2/wrappers. For
example, immediately when I SSH into my EC2 instance it automatically loads
RVM. I'd like to do the same with ansible when I ssh.
On Thursday, August 20, 2015 at 7:34:58 PM UTC-7, Brian Coca wrote:
>
> >- name: Deploy my app
> > environment:
> > PATH: "{{ ansible_env.PATH }}
>
> This is basically a noop, you are assigning the PATH ansible normally
> gets to the PATH, also environment is not a task, it is a play/task
> directive.
>
>
>
> --
> 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/934dba75-5aa3-4ec3-afb6-14885b9258c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.