I want to use the command "nohup" together with ansible or ansible-playbook command so that the process would be detached form the current session.
Unfortunately it doens't work (I think it has problems with the stdout).
Traceback (most recent call last):
File "/usr/bin/ansible", line 226, in <module>
(runner, results) = cli.run(options, args)
File "/usr/bin/ansible", line 200, in run
results = runner.run()
File "/usr/lib/python2.6/site-packages/ansible/runner/__init__.py", line 1181, in run
results = self._parallel_exec(hosts)
File "/usr/lib/python2.6/site-packages/ansible/runner/__init__.py", line 1092, in _parallel_exec
new_stdin = os.fdopen(os.dup(sys.stdin.fileno()))
OSError: [Errno 22] Invalid argument