How to use Ansible to Replace or override the path in a Linux file
9 views
Skip to first unread message
bibhu
unread,
Nov 15, 2017, 1:20:00 PM11/15/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hi ,
Impala-shell script is there under /usr/bin/ in 50 machines . I want to replace or override PYTHON_EGG_CACHE= /tmp/impala-shell-python-egg-cache-${USER} TO PYTHON_EGG_CACHE=/var/tmp/impala-shell-python-egg-cache-${USER} using Ansible . could you please suggest
Thanks and Regards
Bibhu
Fabian B.
unread,
Nov 15, 2017, 7:29:25 PM11/15/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hey Bibhu,
Have you tried using the line-in-file module to set that within your script or setting it in your application server's conf file. From there you should be able to restart your application or server and have the changes take effect.