Why do Scripts Run from a Shell Task Not Persist After Ansible Completes?

Solution Verified - Updated -

Issue

A script runs manually from command line and the process forks successfully; however, when the same is run through Ansible, the script runs successfully while the process is not forked.

Environment

  • Ansible Engine

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content