ansible-plugin | Jenkins Ansible plugin | Automation library

 by   jcsirot Java Version: Current License: Apache-2.0

kandi X-RAY | ansible-plugin Summary

kandi X-RAY | ansible-plugin Summary

ansible-plugin is a Java library typically used in Automation, Ansible applications. 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 gives the possibility to run [Ansible] ad-hoc command or playbooks as a build step. Jenkins Wiki page:
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ansible-plugin has a low active ecosystem.
              It has 13 star(s) with 118 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 21 open issues and 2 have been closed. On average issues are closed in 130 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of ansible-plugin is current.

            kandi-Quality Quality

              ansible-plugin has no bugs reported.

            kandi-Security Security

              ansible-plugin has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

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

            kandi-Reuse Reuse

              ansible-plugin releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed ansible-plugin and discovered the below as its top functions. This is intended to give you an instant insight into ansible-plugin implemented functionality, and help decide if they suit your requirements.
            • Executes the command
            • Gets the executable for a given command
            • Executes the CLI script
            • Sets whether to sudo or not
            • Executes an ansible playbook
            • Sets the credentials id
            • Returns the ansible name
            • Gets additional parameters
            • Get the ansible installation
            • Check that the parameter is not null or empty
            • Returns an entry handler for the inventory
            • Returns a new inventory handler
            • Set the inventory
            • Add the home directory to the environment
            • Set the credentials id
            • Set the sudo user
            • Sets the startAtTask parameter
            • Set skipped tags
            • Set the limit
            • Get the inventory descriptors
            • Set installation
            • Set extras
            • Returns the descriptor
            • Fill the list box with credentials id items
            • Builds the command line arguments
            • Executes an adhoc command
            Get all kandi verified functions for this library.

            ansible-plugin Key Features

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

            ansible-plugin Examples and Code Snippets

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

            Community Discussions

            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

            QUESTION

            SSH-less LXC containers using Ansible
            Asked 2017-Jul-18 at 06:14

            I am new to ansible, and I am trying to use ansible on some lxc containers. My problem is that I don't want to install ssh on my containers. So

            What I tried:

            I tried to use this connection plugin but it seams that it does not work with ansible 2.
            After understanding that chifflier connection plugin doesn't work, I tried to use the connection plugin from openstack.

            After some failed attempts I dived into the code, and I understand that the plugin doesn't have the information that the host I am talking with is a container.(because the code never reached this point)

            My current setup: {Ansbile host}---|ssh|---{vm}--|ansible connection plugin|---{container1}

            My ansible.cfg:

            ...

            ANSWER

            Answered 2017-Jul-17 at 20:21

            You should take a look at this lxc connection plugin. It might fit your needs.

            Edit : lxc connection plugin is actually part of Ansible.

            Just add ansible_connection=lxc in your inventory or group vars.

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

            QUESTION

            How do you force Jenkins Ansible Plugin to set log level
            Asked 2017-Jun-06 at 08:10

            I want to set ansible playbook execution to verbose -vvv when jenkins runs the playbook via the Ansible Plugin.

            However, https://github.com/jenkinsci/ansible-plugin doesn't appear to have a verbose or log level as a part of it and I don't see any other way to push the -vvv element on to command line.

            Is there a way to set log level in the playbook itself?

            ...

            ANSWER

            Answered 2017-Apr-26 at 09:36

            To set Jenkins Ansible Plugin log level in Pipeline Script you can use extras parameter in ansiblePlaybook function to add command line arguments. Example:

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install ansible-plugin

            You can download it from GitHub.
            You can use ansible-plugin like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the ansible-plugin component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            Ansible playbooks can be executed from workflow scripts. Only the playbook parameter is mandatory.
            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/jcsirot/ansible-plugin.git

          • CLI

            gh repo clone jcsirot/ansible-plugin

          • sshUrl

            git@github.com:jcsirot/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