The same thing I could run locally and it is running successfully

On Wed, 14 Nov 2018, 17:36 ameya agashe, <[email protected]> wrote:

> Check the path of properties file on the target server, it appears to me
> that it is not able to find the path of the property file.
>
> Running with -vvv option would help.
>
> Kind Regards,
> Ameya Agashe
>
> On Wed, Nov 14, 2018 at 9:55 PM visar <[email protected]> wrote:
>
>> the below is the playbook which I tried here .
>>
>> ________________________________________________________________________________________________________
>> ---
>>
>> - name: Run JTS SETUP
>>   hosts: IHS
>>   tasks:
>>     - name: Commandline JTS SETUP from Response file
>>       script: /opt/IBM/605CLM/JazzTeamServer/server/repotools-jts.sh
>> -setup repositoryURL=https://myappurl:9443/jts
>> parametersFile=/opt/IBM/605CLM/JazzTeamServer/server/response_lat.properties
>> adminUserId=mydomainid adminPassword=mypassword
>>
>>
>> ____________________________________________________________________________________________________________
>>
>> and the below is the error..
>>
>> fatal: [10.70.3.6]: FAILED! => {"changed": true, "msg": "non-zero return
>> code", "rc": 1, "stderr": "Shared connection to 10.170.3.9 closed.\r\n",
>> "stderr_lines": ["Shared connection to 10.170.3.9 closed."], "stdout":
>> "ERROR: Could not find configuration directory
>> /root/.ansible/tmp/ansible-tmp-1542230980.95-221589976350574/conf/jts/provision_profiles.
>> If you have moved or renamed your configuration directory, you can use the
>> environment variable JAZZ_PROVISION_PROFILES to point to its new
>> location.\r\n", "stdout_lines": ["ERROR: Could not find configuration
>> directory
>> /root/.ansible/tmp/ansible-tmp-1542230980.95-221589976350574/conf/jts/provision_profiles.
>> If you have moved or renamed your configuration directory, you can use the
>> environment variable JAZZ_PROVISION_PROFILES to point to its new
>> location."]}
>>
>> tried with command module and resulted a long error..
>>
>>
>>
>> On Wednesday, November 14, 2018 at 1:12:44 PM UTC+5:30, visar wrote:
>>>
>>> Hello Experts,
>>>
>>> Good Day!!
>>>
>>> I was searching for some solution on my ansible playbook where i want
>>> run an application inbuilt .sh script with arguments and corresponding
>>> mapped values.
>>>
>>> the below is the command which i can successfully execute in terminal
>>> window.
>>>
>>> I tried with both shell and command and script modules in ansible, but
>>> no luck..
>>>
>>> ./repotools-jts.sh -setup repositoryURL=https://myappurl:9443/jts
>>> responsefile=response.properties adminUserId=mydomainID adminPassword=passwd
>>>
>> --
>> 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/9e7429aa-6436-458f-b4e8-ff1b89fcbf0d%40googlegroups.com
>> <https://groups.google.com/d/msgid/ansible-project/9e7429aa-6436-458f-b4e8-ff1b89fcbf0d%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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/CAG9tf-9%3D8YHWOn-Zp05RqYm%2BeHBvsFGOc6cX1Rv-C%2BWJ0hH%2B2g%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAG9tf-9%3D8YHWOn-Zp05RqYm%2BeHBvsFGOc6cX1Rv-C%2BWJ0hH%2B2g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

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

Reply via email to