通过插件与Ansible进行Rundeck集成 [英] Rundeck integration with Ansible through plugin
问题描述
我无法使用ansible配置rundeck集成,我使用的是rundeck-ansible插件,但是我没有从Google获得简单有用的信息/帮助. 我已经在同一台服务器上安装了ansible和rundeck. 我已经使用了该插件 https://github.com/Batix/rundeck-ansible-plugin但无法对其进行配置.任何人都可以分享逐步指导的链接.任何帮助将不胜感激.
I am not able to configure the rundeck integration with ansible, I am using the rundeck-ansible plugin, but I am not getting easy and useful information/help from google. I have installed ansible and rundeck on the same server. I have used that plugin https://github.com/Batix/rundeck-ansible-plugin but not able to configure it. can anyone please share the link which h guide step by step. Any help will be appreciated.
推荐答案
请记住, Ansible插件与Rundeck一起使用,基本上,您需要遵循以下步骤:
Keep on mind that the Ansible plugin is out of the box with Rundeck, basically, you need to follow this:
-
创建一个新项目,转到默认节点执行程序"选项卡,然后 选择"Ansible Ad-hoc Node Executor".采取外观.
Create a new project, go to the "Default Node Executor" tab and select "Ansible Ad-hoc Node Executor". Take a look.
在Ansible Node Executor配置中,设置可执行文件
(通常为/bin/bash
)并定义Ansible配置路径(通常位于
/etc/ansible/ansible.cfg
),也请点击生成库存"
复选框.
现在向下滚动并单击保存"按钮.
In the Ansible Node Executor configuration, set the Executable
(usually /bin/bash
) and define the Ansible config path (usually at
/etc/ansible/ansible.cfg
), also click ON "Generate Inventory"
checkbox.
Now scroll down and click on "Save" button.
您可以观看此,以了解有关运行Ansible剧本的更多信息(并使用内联Rundeck的Ansible剧本).
You can watch this to learn more about run Ansible playbooks (and use inline Ansible playbooks) in Rundeck.
这篇关于通过插件与Ansible进行Rundeck集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!