missed export
name: adding extra path
shell: PATH=$PATH:{{item}} && export PATH
with_items:
  - /usr/lib/jvm/java-8-openjdk-amd64/jre/bin
  - /usr/lib/jvm/java-8-openjdk-amd64/bin


On Thu, Jul 11, 2019 at 8:07 PM Kunalsing Thakur <[email protected]>
wrote:

> name: adding extra path
> shell: PATH=$PATH:{{item}}
> with_items:
>   - /usr/lib/jvm/java-8-openjdk-amd64/jre/bin
>   - /usr/lib/jvm/java-8-openjdk-amd64/bin
>
>
> On Thu, Jul 11, 2019 at 8:02 PM Jibsan Joel Rosa Toirac <
> [email protected]> wrote:
>
>> Hello to everyone. I have a big problem. I need to add a line text to 
>> environment
>> file on Ubuntu. Here is the file content:
>>
>>
>> PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
>>
>> and I want to insert the following lines at the end but in the same line
>>
>> /usr/lib/jvm/java-8-openjdk-amd64/jre/bin
>>
>> /usr/lib/jvm/java-8-openjdk-amd64/bin
>> So it should look like this
>>
>>
>> PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/
>> usr/lib/jvm/java-8-openjdk-amd64/jre/bin:
>> /usr/lib/jvm/java-8-openjdk-amd64/bin"
>>
>> Please any help with this will be awesome hehehehe.
>>
>> --
>> 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/40b82b91-ae76-4eea-b62f-e077f4c61814%40googlegroups.com
>> <https://groups.google.com/d/msgid/ansible-project/40b82b91-ae76-4eea-b62f-e077f4c61814%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
>
>
> [image: --]
>
> kunalsing thakur
> [image: https://]about.me/kunalsingthakur
>
> <https://about.me/kunalsingthakur?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links>
>


-- 


[image: --]

kunalsing thakur
[image: https://]about.me/kunalsingthakur
<https://about.me/kunalsingthakur?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links>

-- 
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/CANErU6mU9qWcMFLJgQEPzqGR3-%2Bbjwy71R0pjBXvO0Ydi7pq5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to