command executes main ruby script but exits before finish

5 views
Skip to first unread message

Rob Mokkink

unread,
Apr 12, 2017, 5:27:50 PM4/12/17
to Ansible Project
Hi,

I am trying to the a command task to work with a ruby script(foreman-proxy-certs-generate), see https://theforeman.org/plugins/katello/3.3/installation/smart_proxy.html.
The script is the main script but executes puppet and other scripts. The main script finishes and the command task is then finished, but i need it to wait before it finishes.
I tried adding the option "creates", because the script creates a tar file with certificates etc.

What is the best way to deal with this issue in ansible?

Thanks.

Regards,

Rob
Reply all
Reply to author
Forward
0 new messages