Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49056

Pipeline Support for Ansible Adhoc Commands

    XMLWordPrintable

Details

    • New Feature
    • Status: In Progress (View Workflow)
    • Minor
    • Resolution: Unresolved
    • ansible-plugin
    • None
    • ansible-plugin 0.8.0

    Description

      The Ansible plugin should support running Adhoc commands through a workflow step, like it already does for playbook and vault commands.

      See org.jenkinsci.plugins.ansible.workflow.AnsiblePlaybookStep and org.jenkinsci.plugins.ansible.workflow.AnsibleVaultStep for examples.

      Attachments

        Issue Links

          Activity

            prashathsenthil sai sendil added a comment -

            I'm trying to invoke the ansible adhoc command from a declarative pipeline, is this issue a WIP item?

            prashathsenthil sai sendil added a comment - I'm trying to invoke the ansible adhoc command from a declarative pipeline, is this issue a WIP item?

            Sorry prashathsenthil but I haven't used this plugin or Ansible in a year. You're welcome to take a look at what I was working on previously. It's in Github at https://github.com/michaelcresswell/ansible-plugin/commits/JENKINS-49056. Maybe it will be helpful in getting this feature implemented. escoemmay be able to to help get a completed feature deployed if you make it that far.

            michaelcresswell Michael Cresswell added a comment - Sorry prashathsenthil but I haven't used this plugin or Ansible in a year. You're welcome to take a look at what I was working on previously. It's in Github at  https://github.com/michaelcresswell/ansible-plugin/commits/JENKINS-49056 . Maybe it will be helpful in getting this feature implemented.  escoem may be able to to help get a completed feature deployed if you make it that far.
            winston1017 winston lee added a comment -

            Haven;t tested out the fix above, but this would be a very nice feature to have.

            winston1017 winston lee added a comment - Haven;t tested out the fix above, but this would be a very nice feature to have.

            People

              Unassigned Unassigned
              michaelcresswell Michael Cresswell
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: