rundeck

Automating Rundeck password MD5 generation

烂漫一生 提交于 2021-02-17 05:36:11
问题 Quick question. I'm using rundeck 3.1.2-20190927 installed via the yum repo on Centos7/RHEL7. I'm trying to generate the MD5 password using the command line but it looks like its only through the interactive prompts using the WAR file. ie: java -jar rundeck-3.1.2-20190927.war --encryptpwd Jetty Is there a way I can feed it the username/password so I can grep out the MD5 hash instead of having to do this interactively? The documentation is a bit of a mess and I'm seeing references to jetty-all

How to pass options to Rundeck job webhook URL

谁说胖子不能爱 提交于 2021-02-17 02:43:21
问题 I have defined a webhook in Rundeck to run a particular job. This job has 3 options defined: ${option.VMName}, ${option.CPU} and ${option.Memory}. The job itself is defined as a local powershell script and executes as: powershell ${scriptfile} ${option.VMName} ${option.CPU} ${option.Memory}. This is tested and works fine. I would now like to invoke the webhook POST URL so that the job is remotely triggered (from a web dashboard, using PowerShell) with these options defined. I tried,

Ansible commands are not run from rubdeck GUI

依然范特西╮ 提交于 2021-02-11 16:40:57
问题 I have configured rundeck project with the below mentions link steps. https://stackoverflow.com/questions/60011639/rundeck-integration-with-ansible-through-plugin/60019714?noredirect=1#comment106258813_60019714 I am able to execute the shell commands like ls -la, df- h on remote server as well but when I use ansible -m ping all its gives error (you can see in the screenshot) https://imgur.com/a/ZvJjn2Z .how I can solve the issue. 回答1: Basically what you are doing is calling ansible on all

Rundeck - Fail a job only when all nodes fail

北城以北 提交于 2021-02-11 14:19:49
问题 Is it possible to have an overall job status set to OK if at least one node reports ok? Currently my job runs tasks on docker and will only run succeed on the leader and will fail on the others. I would like to have it so the job is OK so long as it has run successfully on at least one node. Is this possible? 回答1: You can do that in this way: First, you need two jobs. The first one: points to your nodes, but this job needs an option to pass the node name in the node filter textbox. And the

How to get steps status of a Rundeck job to a file

百般思念 提交于 2021-02-11 12:50:30
问题 I have a Parent job in Rundeck and in steps I have multiple reference jobs (that are created using "Job Reference - Execute another Job for each Node") and internally each of these reference jobs has different tasks. Is there as way I can get Steps status (Pass or Fail) of the Parent job's to a file? The purpose of this is to generate a report and attach to a mail which will have the success or failure of each step. 回答1: As you may have noticed, Rundeck only takes the Parent Job execution on

Rundeck - problem with jaas LDAPS configuration

僤鯓⒐⒋嵵緔 提交于 2021-02-11 12:49:30
问题 Gents, I've followed how-to from https://docs.rundeck.com/docs/administration/security/authentication.html#communicating-over-secure-ldap-ldaps Authentication works great for LDAP, but when I change to LDAPS (I am only changing providerUrl="ldap://" to ldaps:// stanza in custom jaas conf), error is being returned: ERROR jaas.JettyCachingLdapLogModule - Naming error javax.naming.CommunicationException: simple bind failed: <AD IP> AD is listening on port 636. I suspect problem can be with

How do I install Rundeck from source (i.e., the github repo)?

自古美人都是妖i 提交于 2021-01-29 20:12:26
问题 I am trying to install Rundeck from source. I have tried three different distributions of Linux (a Debian, Red Hat, and SUSE distribution). All have had failures. I install the make command, Java and Git before proceeding. The "make" command is what fails on every distribution of Linux that I have tried. The "./gradlew build" command was no more successful either. I then run these commands: cd /tmp git clone https://github.com/rundeck/rundeck.git mv rundeck /opt/ cd /opt/rundeck make I always

Fetch 200 Ok status after running Curl Command and using that status write a condition using python in RUNDECK

独自空忆成欢 提交于 2021-01-29 15:19:51
问题 Below is the CURL command which gives the status running in RUNDECK url = "curl -kv https://vn2-lpgdmt-capp99.rno.vzon.com:8990/health/check" My Code is as follows: payload={} Headers={ i have defined here } response = requests.request("GET", url, headers=headers, data = payload,verify=False) status = response.status_code print(status) response_val = response.json() response_val = json.dumps(response_val) if status != 200 : print('********Error in Response***********') print('Status :'+ str

Artifactory plugin for rundeck?

[亡魂溺海] 提交于 2021-01-29 14:55:30
问题 I have been unable to find a plugin to list available artifacts from Artifactory. Does anyone know of a method to do this in a rundeck job, I want to deploy a war file which is available In artifactory to tomcat using rundeck. Regarding deployments to tomcat in rundeck what are best practices there ? 回答1: You can create a Job option with remote option values, which will fetch the list of artifacts from Artifactory. Since Rundeck support limited JSON format, you will not be able to use most of

Rundeck Static Token not loaded when Rundeck Service is started

一个人想着一个人 提交于 2021-01-29 14:18:54
问题 I think my Rundeck does not load my tokens.properties file. I can't see it on my service.log being loaded. Here is a screenshot of the log That's why when I restart the service or the server my scheduled jobs, that triggers Rundeck API, always get this error {"error":true,"apiversion":35,"errorCode":"api.error.item.unauthorized","message":"Not authorized for action \"Run\" for Job ID 109fd435-765f-4b7a-a547-0c5906c4a1f5"} For it to work properly again, I need to generate a new token each time