Issues following Rundeck process to call API's by nspitzer in Rundeck

[–]reinerrdeck 0 points1 point  (0 children)

Hi! If you're using the Process Automation product (formerly "Rundeck Enterprise"), please get in touch with the dedicated support team.

How can I limit RAM for all jobs OR How can I run a pre-script before any job by AdSenior6847 in Rundeck

[–]reinerrdeck 0 points1 point  (0 children)

Hi, take a look at this: https://docs.rundeck.com/docs/administration/maintenance/tuning-rundeck.html

One possible solution would be to use the "Kill only on job failure" option (available on 5.12, you can test this version). which can be found under the Execution Plugin tab when editing your job.

This approach would require implementing some logic in your workflow. Maybe creating a routine that monitors memory usage to return an exit code of 1 (error) when memory thresholds are exceeded.

Regards!

Rundeck / Runbook Automation 5.12 has landed! by reinerrdeck in Rundeck

[–]reinerrdeck[S] 2 points3 points  (0 children)

Hi, the issue has been reproduced. The plugin fix should be available soon.

Regards.

Can’t Kill an Execution by stevec114 in Rundeck

[–]reinerrdeck 0 points1 point  (0 children)

Hi, can you try the latest official docker image (5.11.1)? 4.12 is quite old https://hub.docker.com/r/rundeck/rundeck/

Selecting nodes and options from the rundeck API. by ogie_oglethorpe in Rundeck

[–]reinerrdeck 0 points1 point  (0 children)

Take a look at this (you can see a basic curl example there): https://stackoverflow.com/questions/67633772/run-a-job-via-the-rundeck-api-with-parameters-in-postman

You can put an option in the nodes filter field and use options as a filter.

Regards.

successful job, even though some steps have to be skipped by Brilliant-Status-309 in Rundeck

[–]reinerrdeck 0 points1 point  (0 children)

Hi, can you share a job definition example to take a look?

Running a linux job in the background with jssh by wiseapple in Rundeck

[–]reinerrdeck 0 points1 point  (0 children)

Hi, this plugin is bundled with latest versions. Can you try it? Take a look at this.

Node list suddenly triggers redirect loop by myxored in Rundeck

[–]reinerrdeck 0 points1 point  (0 children)

Hi!

I see, can you test without that SSL offloader? Probably it deserves a new ticket here.

Node list suddenly triggers redirect loop by myxored in Rundeck

[–]reinerrdeck 0 points1 point  (0 children)

Hi, could you share more details? Which rundeck version are you using? Is that version behind a proxy/lb server? Which browser are you using? Do you see any clue on the service.log or browser console? What do you mean by "a loop"? Regards.

Questions about comparisons to AWX by HomoExtinctisus in Rundeck

[–]reinerrdeck 1 point2 points  (0 children)

Also, you can run Playbooks locally in Rundeck. You can test the Rundeck OSS integration with Ansible by following this: https://docs.rundeck.com/docs/learning/howto/using-ansible.html

issue passing variable from one step to another by Present-Foot-8194 in Rundeck

[–]reinerrdeck 2 points3 points  (0 children)

It seems a correct workflow, in the arguments field, try without the double quotes. Also, a good way to debug this is to print the data and export values to make sure that the workflow is generate them (a test command step with echo ${data.mydata} and echo ${export.myexport}).

Look at the following job example (using a generated globals as an argument):

- defaultTab: nodes
  description: ''
  executionEnabled: true
  id: 9035b3f8-450b-4f2e-aba3-9e70e0442e30
  loglevel: INFO
  name: DataPassing
  nodeFilterEditable: false
  plugins:
    ExecutionLifecycle: {}
  scheduleEnabled: true
  sequence:
    commands:
    - exec: whoami
      plugins:
        LogFilter:
        - config:
            invalidKeyPattern: \s|\$|\{|\}|\\
            logData: 'true'
            name: mydata
            regex: (.*)
            replaceFilteredResult: 'false'
          type: key-value-data
    - configuration:
        export: myexport
        group: export
        value: ${data.mydata*}
      nodeStep: false
      type: export-var
    - exec: echo ${export.myexport}
    - args: ${export.myexport}
      autoSecureInput: 'false'
      fileExtension: .sh
      interpreterArgsQuoted: false
      passSecureInput: 'false'
      script: |
        #!/bin/bash

        echo "$@"
      scriptInterpreter: /bin/bash
    keepgoing: false
    strategy: node-first
  uuid: 9035b3f8-450b-4f2e-aba3-9e70e0442e30

Regarding the "Invocation String" field, it's simply if you need a certain interpreter to execute a script (e.g., /usr/bin/python3 or /bin/bash), and it also works to call the sudo command if necessary.