rundeck | Enable Self-Service Operations | Continuous Deployment library

 by   rundeck Groovy Version: 5.0.2-rc3-20240207 License: Apache-2.0

kandi X-RAY | rundeck Summary

kandi X-RAY | rundeck Summary

rundeck is a Groovy library typically used in Devops, Continuous Deployment, Ansible, Docker applications. rundeck has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

| Travis | Deb | RPM | War | |--------|-----|-----|-----| |[Travis CI] Rundeck is an open source automation service with a web console, command line tools and a WebAPI. It lets you easily run automation tasks across a set of nodes. See the [Release Notes] for the latest version information. RPM and DEB package builds. Java 8 (openjdk, oracle). Refer to the [IDE Development Environment] to get set up using IntelliJ IDEA or Eclipse/STS. Do you have changes to contribute? Please see the [Development] wiki page.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              rundeck has a medium active ecosystem.
              It has 4985 star(s) with 855 fork(s). There are 202 watchers for this library.
              There were 10 major release(s) in the last 6 months.
              There are 543 open issues and 4406 have been closed. On average issues are closed in 294 days. There are 49 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of rundeck is 5.0.2-rc3-20240207

            kandi-Quality Quality

              rundeck has 0 bugs and 0 code smells.

            kandi-Security Security

              rundeck has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              rundeck code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              rundeck is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              rundeck releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.
              It has 106500 lines of code, 8764 functions and 1841 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rundeck
            Get all kandi verified functions for this library.

            rundeck Key Features

            No Key Features are available at this moment for rundeck.

            rundeck Examples and Code Snippets

            Get the server URL in a script
            Lines of Code : 153dot img1License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            
              
                nodes
                
                true
                e8bb217c-ec91-418a-aec5-16df83dbcf82
                INFO
                RundeckServerName
                false
                
                true
                
                  
                    .sh
                    
                      
                        
                          \s|\$|\{|\}|\\
                          true
                      
            Rundeck - job import does not work with yaml
            Lines of Code : 37dot img2License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            #!/bin/sh
            
            # protocol
            protocol="http"
            
            # basic rundeck info
            rdeck_host="localhost"
            rdeck_port="4440"
            rdeck_api="38"
            rdeck_token="2aoZkhOR0ZSwMIZo4Sg6hrY57NfiN4nB"
            
            # specific api call info
            rdeck_project="ProjectEXAMPLE"
            rdeck_yaml_file="jo
            Rundeck behind web proxy
            Lines of Code : 41dot img3License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            version: "3.7"
            services:
              rundeck:
                build:
                  context: .
                  args:
                    IMAGE: ${RUNDECK_IMAGE:-rundeck/rundeck:3.3.10}
                container_name: rundeck-nginx
                ports:
                - 4440:4440
                environment:
                  RUNDECK_GRAILS_URL: htt
            Rundeck Job List View plugin installation issue
            Lines of Code : 58dot img4License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            #!/bin/sh
            
            # protocol
            protocol="http"
            
            # basic rundeck info
            rdeck_host="your_rundeck_node"
            rdeck_port="4440"
            rdeck_api="36"
            rdeck_token="cqgfZlrSF84oUoC2ZzRwiltiyefjZx9R"
            
            # specific api call info
            rdeck_job="5dc08e08-0e28-4a74-9ef0-4ec0c8e
            Rundeck Static Token not loaded when Rundeck Service is started
            Lines of Code : 60dot img5License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            rundeck.tokens.file=C:/rundeck/tokens.properties
            
            bob:bob,admin
            
            bob: 12345, admin
            
            #!/bin/sh
            
            # protocol
            protocol="http"
            
            # basic rundeck info
            rdeck_host="10.0.1.81"
            
            Was anyone able to connect JumpCloud to Rundeck via LDAP?
            Lines of Code : 29dot img6License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            rundeck {
            com.dtolabs.rundeck.jetty.jaas.JettyCombinedLdapLoginModule sufficient
                debug="true"
                contextFactory="com.sun.jndi.ldap.LdapCtxFactory"
                providerUrl="ldap://ldap.jumpcloud.com:389"
                bindDn="uid=xxxxxxxxx,ou=Users,o=xx
            How do I install Rundeck from source (i.e., the github repo)?
            Lines of Code : 11dot img7License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            sudo apt-get install npm
            
            curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -
            sudo apt-get -y install nodejs
            
            git clone https://github.com/rundeck/rundeck
            
            cd
            Authentication error when using rundeck cli (aka rd)
            Lines of Code : 47dot img8License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            version: '3'
            services:
              rundeck:
                build:
                  context: .
                  args:
                    IMAGE: ${RUNDECK_IMAGE:-rundeck/rundeck:3.2.6}
                ports:
                  - 4440:4440
                links:
                  - postgres
                environment:
                  RUNDECK_DATABASE_DRIVER: org.p
            I cannot get Rundeck to start with SSL
            Lines of Code : 25dot img9License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            rpm -Uvh https://repo.rundeck.org/latest.rpm
            
            yum install rundeck
            
            keytool -keystore /etc/rundeck/ssl/keystore -alias rundeck -genkey -keyalg RSA -keypass password -storepass password
            
            How do I customise Rundeck with a logo?
            Lines of Code : 8dot img10License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            # custom logo
            rundeck.gui.staticUserResources.enabled=true
            rundeck.gui.logo=logo.jpg
            rundeck.gui.logoSmall=logosmall.jpg
            rundeck.gui.instanceNameLabelColor=#ededed
            rundeck.gui.instanceNameLabelTextColor=#000000
            rundeck.gui.title=TNC Rundec

            Community Discussions

            QUESTION

            How can I suppress java 11 warning about retrofit2 platform for Rundeck 3.4.10 and RD CLI
            Asked 2022-Apr-15 at 15:10

            We have a Windows 2016 server with Rundeck 3.4.10 and recently had to upgrade to Corretto OpenJDK 11. Only now any RD command get's an error of the following which makes it very difficult to see the actual return from the process and is stopping us from continuing to develop a automation to find 'stuck' processes and abort them. Any help would be very much appreciated.

            ...

            ANSWER

            Answered 2022-Apr-15 at 15:10

            The "An illegal reflective access" warnings are inoffensive, you can open a new issue here, in that way the dev team can remove them on further versions.

            Source https://stackoverflow.com/questions/71878386

            QUESTION

            How to allow Rundeck job to pickup latest node inventory list?
            Asked 2022-Mar-14 at 12:45

            There are two Rundeck Jobs in the infra:

            Job 01: (For local execution)

            1. Will allow the user to upload a file consisting of servers list (Nodes: Execute Locally on rundeck)
            2. The new nodes list will get updated to the new inventory file (resources.xml) which will be used by Rundeck henceforth
            3. Triggers an API call to run Job 02

            Job 02: (For remote execution)

            1. Will run the Job for the updated inventory list.

            Result: The runs were successful. The new nodes are reflecting to the latest inventory.

            Problem: The issue is after 5 such executions, Rundeck uses the cache inventory names. For example, For Job execution #5, it uses #4 execution's inventory list. Is there any way this can be avoided? This could turn out to be a bigger issue when deployed in large.

            ...

            ANSWER

            Answered 2022-Mar-14 at 12:45

            You can decrease the model source cache delay time, go to Project Settings > Edit Nodes > Configuration tab, and set the Cache Delay textbox in seconds (default value: 30 seconds).

            Source https://stackoverflow.com/questions/71463225

            QUESTION

            How do i get parallel jobs working on failure
            Asked 2022-Feb-11 at 17:29

            If I have a set of parallel jobs and 1 fails and the other succeeds. I try the resume execution/retry failed nodes, it triggers both the jobs again. Is there any setting in rundeck which can trigger only the failed job and not rerun the entire group again ? Is this a bug ?

            ...

            ANSWER

            Answered 2022-Feb-11 at 17:25

            The reason is that job reference steps is running on a single job, by design, rundeck consider that as a parent job exection and not individual executions (child jobs, the parallel jobs). If you want to avoid this, you will run these jobs individually (in a job calling each job using rd cli or Rundeck api) in a inline-script step.

            In that way you can retry only the failed execution.

            Now, to resume since a failed step, you can use the Job Resume Plugin (only for Rundeck Enterprise). The plugin allows to resume in the job failed step.

            Source https://stackoverflow.com/questions/71082772

            QUESTION

            Rundeck failed to remove remote file in C:\WINDOWS\TEMP\ when the Job times out
            Asked 2022-Feb-07 at 20:39

            Notice that when the Rundeck job triggers a timed out due to running too long, it fails to remove the temp file from my remote window node. Due to this action, the Temp folder has an unnecessary amount of dispatch temp files in the folder. I wondered if their a config setting to remove said files if the job triggers a timed out within Rundeck.

            Rundeck is running on Community 3.4.10

            ...

            ANSWER

            Answered 2022-Feb-07 at 20:39

            There is no specific option for that, a good idea you can do is run a periodic job that cleans that directory.

            Source https://stackoverflow.com/questions/71023565

            QUESTION

            register rsync in shellscript
            Asked 2022-Jan-31 at 18:11

            What should I add so that my little script logs the rsync command only if it contains files to copy and is not every 5 minutes logging nothing.

            ...

            ANSWER

            Answered 2022-Jan-31 at 18:10

            To check for files you can try something like this:

            Source https://stackoverflow.com/questions/70930629

            QUESTION

            How many nodes can be managed by Rundeck Community edition?
            Asked 2022-Jan-28 at 14:27

            With the EOL for push-jobs, for newer releases of Chef (Chef-Infra, Chef-Client, Chef-workstation), it has become difficult to manage the Chef nodes from chef workstation. Using knife ssh maybe an ideal option but not the most convincing approach.

            Wanted to integrate Rundeck to this and try the approach. However, was not able to find out how many nodes can be managed by Rundeck Community edition.

            Can anyone let me know the number of nodes that can be remotely managed by Rundeck's Community edition?

            ...

            ANSWER

            Answered 2022-Jan-28 at 14:27

            Technically and officially no limits for that, it all depends on your instance resources.

            Source https://stackoverflow.com/questions/70890765

            QUESTION

            No Logout Visible in Rundeck GUI
            Asked 2022-Jan-06 at 18:15

            I have upgraded the Rundeck to version 3.4.8. I am able to retain my Projects and execution history, but lost the node and SCM configuration(which I did manually). The issue is now when I execute the Rundeck Jobs I cannot see Log Output in GUI. The Job is getting executed and also showing status as Successful and Failed. When I check rundeck.execution.log I can see complete log output in that file. This file is owned by runback user and group with 755 permission. Can anybody help me to get the log output visible in Rundeck

            ...

            ANSWER

            Answered 2022-Jan-06 at 14:03

            Exist an identical problem here, it's a bug discovered on Rundeck 3.4.6. Right now you have two workarounds to avoid this:

            1. Click the Log Output directly after the job execution (without clicking the Nodes output first).

            2. Refresh the log output page.

            The fix is on the way, could be ready soon.

            So, if your instance is behind of a proxy server:

            Make sure that grails.serverURL config (at rundeck-config.properties file) is defined with the Rundeck proxy exit URL.

            Also, make sure to set server.useForwardHeaders=true at rundeck-config.properties file or -Drundeck.jetty.connector.forwarded=true as launch parameter, take a look.

            Source https://stackoverflow.com/questions/70579978

            QUESTION

            Rundeck 3.4.5 - Run Job Later stop working
            Asked 2021-Dec-01 at 15:05

            We're using Rundeck *.war version. After upgrade to 3.4.5, the "Run Job Now" stop working. The job got execute immediately after I click "Schedule Job". Anyone experience this? Any ideas what may have cause this?

            ...

            ANSWER

            Answered 2021-Nov-18 at 10:01

            As a matter of fact, it seems to be an opened issue on the project : https://github.com/rundeck/rundeck/issues/7339. The last message of this thread suggest to downgrade to 3.4.4 as long as it is not resolved if you really need it.

            Source https://stackoverflow.com/questions/69997167

            QUESTION

            Can I create a link into rundeck that goes straight to the execution of the job?
            Asked 2021-Nov-30 at 14:21

            I have a job without parameters that I would like to give my users to start from a HTML page outside of rundeck.

            I'd prefer to not go through additional clicks with the output selection and debug options, but go straight to e.g. https://host/rundeck/project/myproject/execution/show/35#output

            But of course the 35 would need to be replaced with $new or something similar, and know that I want to trigger a certain job. Is there a way? Something like https://host/rundeck/project/myproject/execution/show/$new&jobuuid=cce4b26b-8e8a-4920-bd99-4fa3092a3a02 ?

            ...

            ANSWER

            Answered 2021-Nov-30 at 14:21

            The closest approach is to use this ULR http://localhost:4440/project/ProjectEXAMPLE/job/show/030801bc-6933-472f-ae61-cae11121ca6e (it needs only a click on the "History" tab).

            Source https://stackoverflow.com/questions/70126677

            QUESTION

            Rundeck returning 409 on job run through REST API
            Asked 2021-Nov-25 at 16:25

            I am triggering job executions through the HTTP API using pyrundeck, which at the end just does an HTTP POST request like this:

            ...

            ANSWER

            Answered 2021-Nov-25 at 15:05

            To allow multiple executions on a rundeck job just edit it, go to the "Other" tab, and set "Multiple Executions" to "Yes".

            Source https://stackoverflow.com/questions/70109231

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install rundeck

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link