Disable/Remove localhost node

849 views
Skip to first unread message

SirWill

unread,
Oct 27, 2015, 2:07:04 AM10/27/15
to rundeck-discuss
hey,

is there any way to disable or remove the localhost node so it is not included in run on all nodes?

Greg Schueler

unread,
Oct 27, 2015, 12:35:46 PM10/27/15
to rundeck...@googlegroups.com
You can change the node-executor to "stub" for the local node.

<node name="localhost" 
    ...
    local-node-executor="stub"
    local-file-copier="stub"

/>

On Oct 26, 2015, at 11:07 PM, SirWill <briefta...@googlemail.com> wrote:

hey,

is there any way to disable or remove the localhost node so it is not included in run on all nodes?

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/a8cfdbaa-f081-4c25-b0bc-bd0af0f4a8b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

SirWill

unread,
Oct 27, 2015, 4:27:13 PM10/27/15
to rundeck-discuss
Hm, how does that help? It still shows the localhost with .* or does it just doesn't run any command on localhost if you select localhost too?

Alex Honor

unread,
Oct 27, 2015, 8:37:58 PM10/27/15
to rundeck...@googlegroups.com
SirWill,

One other thing you can do is to deny run access to the local host via aclpolicy.

Eg: localhost.aclpolicy

description: "For node with name: localhost, then deny action [run]."
context:
  project: anvils
for:
  node:
    - equals:
        nodename: localhost
      deny: [run]
by:
  group: dev


For more options, visit https://groups.google.com/d/optout.



--

Alex Honor

[SimplifyOps, Inc | a...@simplifyops.com ]

Be sure to comment and vote on Rundeck Feature Development!

SirWill

unread,
Oct 29, 2015, 2:44:55 PM10/29/15
to rundeck-discuss
The issue with that is that it throws an error and marks it as failed.
Reply all
Reply to author
Forward
0 new messages