rundeck-ansible-plugin | Ansible Integration for Rundeck | DevOps library

 by   Batix Java Version: 3.1.1 License: MIT

kandi X-RAY | rundeck-ansible-plugin Summary

kandi X-RAY | rundeck-ansible-plugin Summary

rundeck-ansible-plugin is a Java library typically used in Devops, Ansible applications. rundeck-ansible-plugin has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

This plugin brings basic Ansible support to Rundeck. It imports hosts from Ansible's inventory, including a bunch of facts, and can run modules and playbooks. There is also a node executor and file copier for your project. No SSH-Keys need to be shared between Ansible and Rundeck (but can be), everything is run through either ansible or ansible-playbook (even the node import).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              rundeck-ansible-plugin has a low active ecosystem.
              It has 301 star(s) with 74 fork(s). There are 30 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 76 open issues and 161 have been closed. On average issues are closed in 161 days. There are 6 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of rundeck-ansible-plugin is 3.1.1

            kandi-Quality Quality

              rundeck-ansible-plugin has 0 bugs and 0 code smells.

            kandi-Security Security

              rundeck-ansible-plugin has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              rundeck-ansible-plugin code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              rundeck-ansible-plugin is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              rundeck-ansible-plugin releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions are available. Examples and code snippets are not available.
              rundeck-ansible-plugin saves you 1474 person hours of effort in developing the same functionality from scratch.
              It has 3290 lines of code, 145 functions and 20 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed rundeck-ansible-plugin and discovered the below as its top functions. This is intended to give you an instant insight into rundeck-ansible-plugin implemented functionality, and help decide if they suit your requirements.
            • Returns a set of nodes
            • Tokenizes the given command - line arguments
            • Builds ansible runner
            • Registers a key ssh - agent
            • Escapes any special backslash characters in the given string
            • Deletes a temporary directory
            • Splits a command line into a list of arguments
            • Runs the ansible command
            • Resolve a long attribute
            • Returns true if any errors should be ignored
            • Get prefix for ignore tags
            • Returns whether or not the project should gather information
            • Sets the outputs
            • Resolve an integer attribute
            • Executes the node step
            • Execute a node step
            • Executes the given node
            • Parses the given input stream and returns the ansible logs
            Get all kandi verified functions for this library.

            rundeck-ansible-plugin Key Features

            No Key Features are available at this moment for rundeck-ansible-plugin.

            rundeck-ansible-plugin Examples and Code Snippets

            No Code Snippets are available at this moment for rundeck-ansible-plugin.

            Community Discussions

            Trending Discussions on rundeck-ansible-plugin

            QUESTION

            Rundeck integration with Ansible through plugin
            Asked 2020-Feb-03 at 21:13

            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.

            ...

            ANSWER

            Answered 2020-Feb-03 at 21:13

            Keep on mind that the Ansible plugin is out of the box with Rundeck, basically, you need to follow this:

            1. Create a new project, go to the "Default Node Executor" tab and select "Ansible Ad-hoc Node Executor". Take a look.

            2. 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.

            3. You need to get the ansible nodes defined in your Ansible inventory. For that click on "Project Settings", click on "Edit Nodes..." and then on "Add new Node Source +" green button. Take a look. Choose "Ansible Resource Model Source" and define your Ansible inventory file path (usually at /etc/ansible/hosts) and Ansible config path (usually at /etc/ansible/ansible.cfg). With this, just scroll down and click on the "Save" green button. Now if you click on the "Nodes" option in the left panel, you can see the nodes defined in your Ansible inventory.
            4. Is time for a little test, go to Commands option in the left panel, in the Nodes section then select some Ansible node defined in your Ansible inventory and run some command, in the example, I used "ls -a", take a look.
            5. Now you can run any command/playbooks/inline-playbooks over your ansible nodes and/or use Rundeck nodes to run Ansible playbooks/inline-playbooks, with this you can design any workflow that involves ansible nodes and/or playbooks.

            You can watch this to learn more about run Ansible playbooks (and use inline Ansible playbooks) in Rundeck.

            Source https://stackoverflow.com/questions/60011639

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install rundeck-ansible-plugin

            Download the .jar file from GitHub or compile it yourself (using Gradle, either your own the included wrapper)
            Copy the .jar file to your Rundeck plugins directory (/var/lib/rundeck/libext if you installed the .deb, for example)
            Create a new project (this assumes you want every node in your project to be controlled via Ansible)
            Choose "Ansible Resource Model Source" as the resource model source
            Choose "Ansible Ad-Hoc Node Executor" as the default node executor
            Choose "Ansible File Copier" as the default node file copier
            Save, it can take a short time to import all the nodes, depending on your fleet
            You're all set! Try running a command

            Support

            Discussions and pull requests are welcome.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Batix/rundeck-ansible-plugin.git

          • CLI

            gh repo clone Batix/rundeck-ansible-plugin

          • sshUrl

            git@github.com:Batix/rundeck-ansible-plugin.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link