当前位置: 首页 > 工具软件 > RunDeck > 使用案例 >

rundeck

柴翰藻
2023-12-01

docker run -d -p 4440:4440 -e EXTERNAL_SERVER_URL=http://109.105.4.65:4440 -v/root/rundeck:/var/rundeck --name rundeck -t registry.bst-1.cns.bstjpc.com:5000/jordan/rundeck:latest

默认用户 admin/admin

查看rundeck ssh public key:

# docker exec -ti $(docker ps |grep rundeck |awk '{print $1}') cat /var/lib/rundeck/.ssh/id_rsa.pub

# cd /root/rundeck/projects/mhc-test/etc

# vi resources.xml

<?xml version="1.0" encoding="UTF-8"?>

<project>
  <node name="localhost" description="Rundeck server node" tags="" hostname="localhost" osArch="amd64" osFamily="unix" osName="Linux" osVersion="3.10.0-514.21.1.el7.x86_64" username="rundeck"/>
  <node name="mhc" description="Rundeck server node" tags="" hostname="109.105.4.65" osArch="amd64" osFamily="unix" osName="Linux" osVersion="3.10.0-514.21.1.el7.x86_64" username="rundeck"/>
  <node name="node1" description="Rundeck server node" tags="" hostname="109.105.30.146" osArch="amd64" osFamily="unix" osName="Linux" osVersion="3.10.0-514.21.1.el7.x86_64" username="rundeck"/>
</project>

转载于:https://www.cnblogs.com/mhc-fly/p/8762926.html

 类似资料:

相关阅读

相关文章

相关问答