On 30. sep. 2016 10:49, Sourav Chatterjee wrote:
I would like to confirm if ansible can be used without python2.7 on target
machine, if there is any way ..? We will not be able to able to install
python on target machine using ansible raw module as there may not be
internet access. Any other alternatives?

Copy over the OS packages you need to install Python, if that is not an alternative, you are left with the raw module.


We want to run just shell command in background in the remote machine
(using nohup or &). I could not run it using "raw"module. Any other way to
achieve this without python2.7 on target machine?

nohup and & won't work with the shell module either.
Create init script and start them with the raw module.

--
Kai Stian Olstad

--
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/2562dc81-76c9-cdc1-28be-417ecfbcbb9c%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to