Hi, 

You could use the script module and just add to the path that way.

But the module is this way for a reason.  To me, I want to take control of 
exactly what is configured on machines.  So when I look at my playbooks I 
can know exactly what the PATH is set to on all machines that the playbook 
applies to.

Perhaps you are trying to acheive something where this needs to be 
different on each machine though?

What is it you need to do?

Jon (module author)

On Wednesday, 3 February 2016 14:51:00 UTC, Shmulik Alfandari wrote:
>
> Hi,
>
> I am trying to add specific path to the Path Environment Variables on 
> windows hosts using win_environment module
> The problem is that this module can only add new variable or delete 
> existing one, it's impossible to add something to existing variable.
>
> Is there any other way to update Path Environment Variables on windows 
> hosts?
>
> Thanks,
> Shmulik.
>  
>

-- 
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/b6a68189-aa84-4831-9212-50140f9861af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to