Open MegaDrive68k opened 4 years ago
Hi Team,
Using "standard" node executor (SSH) I can do this on a single step:
ls \etc | grep passwd
But if do the same step using Ansible "Ad-hoc node executor" I can see this error:
Debug mode output:
debug.txt
It seems a problem with the interpretation of some characters like "|".
I using this job definition (to test just change to your nodes instead of the defined on my example):
<joblist> <job> <defaultTab>nodes</defaultTab> <description></description> <dispatch> <excludePrecedence>true</excludePrecedence> <keepgoing>false</keepgoing> <rankOrder>ascending</rankOrder> <successOnEmptyNodeFilter>false</successOnEmptyNodeFilter> <threadcount>1</threadcount> </dispatch> <executionEnabled>true</executionEnabled> <id>29c0cb64-681c-4888-b2a8-f9eb02322155</id> <loglevel>INFO</loglevel> <name>HelloWorld</name> <nodeFilterEditable>false</nodeFilterEditable> <nodefilters> <filter>name: 192.168.33.2.*</filter> </nodefilters> <nodesSelectedByDefault>true</nodesSelectedByDefault> <scheduleEnabled>true</scheduleEnabled> <sequence keepgoing='false' strategy='node-first'> <command> <exec>ls /etc | grep passwd</exec> </command> </sequence> <uuid>29c0cb64-681c-4888-b2a8-f9eb02322155</uuid> </job> </joblist>
Original post/thread: https://stackoverflow.com/questions/58525116/problem-in-rundeck-with-commands-and-global-log-filters-on-remote-nodes
Thanks a lot!
Hi Team,
Using "standard" node executor (SSH) I can do this on a single step:
ls \etc | grep passwd
But if do the same step using Ansible "Ad-hoc node executor" I can see this error:
Debug mode output:
debug.txt
It seems a problem with the interpretation of some characters like "|".
I using this job definition (to test just change to your nodes instead of the defined on my example):
Original post/thread: https://stackoverflow.com/questions/58525116/problem-in-rundeck-with-commands-and-global-log-filters-on-remote-nodes
Thanks a lot!