• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • ansible-plugin
    • None
    • ansible-plugin 0.8.0
    • 240.vc26740a_625c0

      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.

          [JENKINS-49056] Pipeline Support for Ansible Adhoc Commands

          Michael Cresswell created issue -
          Michael Cresswell made changes -
          Description Original: The Ansible plugin should support running Adhoc commands from a pipeline, like it already does for playbook and vault commands. New: 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.
          Michael Cresswell made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Michael Cresswell made changes -
          Link New: This issue is blocked by JENKINS-43782 [ JENKINS-43782 ]
          Michael Cresswell made changes -
          Link New: This issue is duplicated by JENKINS-34633 [ JENKINS-34633 ]

          sai sendil added a comment -

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

          sai sendil added a comment - I'm trying to invoke the ansible adhoc command from a declarative pipeline, is this issue a WIP item?
          Michael Cresswell made changes -
          Assignee Original: Michael Cresswell [ michaelcresswell ]

          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.

          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.

          winston lee added a comment -

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

          winston lee added a comment - Haven;t tested out the fix above, but this would be a very nice feature to have.
          Valentin Delaye made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

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

              Created:
              Updated:
              Resolved: