rundeck

Rundeck not setting up environment variable for remote execution with different ssh port

筅森魡賤 提交于 2019-12-02 03:48:57
Rundeck setsup all the options passed to a job as environment variable like $RD_OPTION_* but it is not setting up those variables when a job is executed in remote node with different ssh port. The script logs into remote node successfully but environment variables are not there. Please help me with a solution. Sample Job definition: <joblist> <job> <context> <options preserveOrder='true'> <option name='option1' required='true' /> </options> </context> <description>job description</description> <dispatch> <excludePrecedence>true</excludePrecedence> <keepgoing>false</keepgoing> <rankOrder

How do I capture output from one Rundeck step to be used in a later step?

孤街醉人 提交于 2019-12-01 21:05:35
I'm attempting to build, launch, and link a set of docker containers using Rundeck. In short (for those not familiar with docker), when an image is launched, it returns a container ID. I would like to use this container ID in the launching of subsequent jobs. When run from the command line, it would look something like this (example only!!): # docker run -Pd 23ABCD45 34DEF123 # docker run -Pd --link 34DEF123:host1 ABC123EF 321CB456 (note the use of the first return value in the second command line) At this point, there would be two containers running. The second would be linked to the first by

How do I capture output from one Rundeck step to be used in a later step?

我怕爱的太早我们不能终老 提交于 2019-12-01 20:54:00
问题 I'm attempting to build, launch, and link a set of docker containers using Rundeck. In short (for those not familiar with docker), when an image is launched, it returns a container ID. I would like to use this container ID in the launching of subsequent jobs. When run from the command line, it would look something like this (example only!!): # docker run -Pd 23ABCD45 34DEF123 # docker run -Pd --link 34DEF123:host1 ABC123EF 321CB456 (note the use of the first return value in the second command

rundeck 配置

吃可爱长大的小学妹 提交于 2019-12-01 12:37:44
rundeck 安装 系统 : # cat /etc/issue CentOS release 6.7 (Final) 内核: # uname -r 2.6.32-573.el6.x86_64 IP 地址: 172.16.5.16 运行账户: root jdk环境: # java -version java version "1.8.0_92" 安装方式: yum 官方发 Yum 源。 rpm -Uvh https://repo.rundeck.org/latest.rpm yum install rundeck service rundeckd start yum upgrade rundeck rundeck-config https://bintray.com/rundeck/rundeck-rpm RunDeck Web界面的登录帐号管理,默认管理员帐号是admin,密码admin http://172.16.5.16:4440 提交表单错误 修改文件 /etc/rundeck/framework.properties 问题;新创建项目 加密异常。 JCE 密码扩展文件; 下载地址: https://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html 解压缩 替换到java

Running python script from inside virtualenv bin is not working

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-30 01:35:07
I have a script I want to be available globally. I've started it with the standard hashbang: #! /usr/bin/env python And linked it into the bin directory of my virtualenv: ~/environments/project/env/bin/myscript And added that directory to my path. When I run the command: myscript I get an import error with one of the libraries. However, if I activate the virtual environment and run the script, it works as expected. I've ruled out a problem with the symlink (I've also tried just moving the script inside the bin folder). I've also tried running the script with python python ~/environments

Running python script from inside virtualenv bin is not working

那年仲夏 提交于 2019-11-28 22:22:42
问题 I have a script I want to be available globally. I've started it with the standard hashbang: #! /usr/bin/env python And linked it into the bin directory of my virtualenv: ~/environments/project/env/bin/myscript And added that directory to my path. When I run the command: myscript I get an import error with one of the libraries. However, if I activate the virtual environment and run the script, it works as expected. I've ruled out a problem with the symlink (I've also tried just moving the

rundeck 自动发布平台

放肆的年华 提交于 2019-11-28 00:33:13
Rundeck 部署使用 个人理解: rundeck的优势: 可以记录下来编辑的操作形成流程 运行记录可以记录下来 ansible的优势: 操作比较简单,无需复杂配置,命令行就可搞定,相对灵活 **有独特见解的朋友们,也可以留言,还望不吝赐教** 参考网站: https://www.cnblogs.com/bugsbunny/p/7614958.html https://yq.aliyun.com/articles/136461 https://my.oschina.net/guol/blog/517858 1.RunDeck介绍: Rundeck 是一款能在数据中心或云环境中的日常业务中使程序自动化的开源软件。 Rundeck 提供了大量功能,可以减轻耗时繁重的体力劳动。团队可以相互协作,分享如何过程自动化,查看业务活动或执行任务。 Rundeck 允许您运行任意数量的节点从一个基于 web 的任务或命令行界面。 Rundeck 还包括其他功能,使其易于扩展,您自动化努力包括 ︰ 访问控制、 工作流建设、 调度、 记录和与外部源节点和选项数据集成。具体流程图参照官网的如下: 下载地址: http://rundeck.org/downloads.html rundeck-launcher-2.11.3.jar 2.安装: 1、安装jdk环境 export JAVA_HOME=