/jumpserver-ansible

此拓展在JumpServer的基础上拓展了Ansible的集成,可在JumpServer管理的资产下执行Ansible PlayBook。

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

Jumpserver-Ansible

Python3 Django Ansible Paramiko


Jumpserver-Ansible 在 Jumpserver 的基础上添加了在管理资产上执行Ansible Role的功能,无侵入与JumpServer集成,目前适配到0.5.0版本, 如需更新请联系作者。


功能

  • Ansible Galaxy下载
  • Ansible Role本地上传
  • Playbook支持Tags执行
  • Playbook支持选择系统用户执行
  • Playbook支持绑定资产执行
  • Playbook支持资产的变量绑定
  • Playbook支持WebHook执行
  • Playbook支持查看错误消息
  • 支持局域网的资产管理

开始使用

提供了一键安装shell脚本[Docker安装],脚本参见: utils/jumpserver-install.sh (需要root权限)

./jumpserver-install.sh

示例

  1. 维护资产与系统用户 image image

  2. 下载或上传Ansible Role image

  3. 新建任务 image

  4. 配置资产与系统用户 image

  5. 配置资产的变量集 image

  6. 选择资产执行 image

  7. 查看执行结果 image image

License

Licensed under The GNU General Public License version 2 (GPLv2) (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.gnu.org/licenses/gpl-2.0.html

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.