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

Add support for Ansible Plugin

XMLWordPrintable

      Plugin: https://wiki.jenkins-ci.org/display/JENKINS/Ansible+Plugin

      Configuration section
      <builders>
        <org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder plugin="ansible@0.3.1">
          <limit>subset</limit>
          <tags>runt</tags>
          <skippedTags>skip</skippedTags>
          <startAtTask>start</startAtTask>
          <credentialsId>9dd2b5cc-33fd-4684-b678-5d66ea24580d</credentialsId>
          <playbook>path_playbook</playbook>
          <inventory class="org.jenkinsci.plugins.ansible.InventoryPath">
            <path>path</path>
          </inventory>
          <sudo>true</sudo>
          <sudoUser>sudo</sudoUser>
          <forks>5</forks>
          <unbufferedOutput>true</unbufferedOutput>
          <colorizedOutput>true</colorizedOutput>
          <hostKeyChecking>true</hostKeyChecking>
          <additionalParameters>additional</additionalParameters>
        </org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder>
      
        <org.jenkinsci.plugins.ansible.AnsibleAdHocCommandBuilder plugin="ansible@0.3.1">
          <credentialsId>9dd2b5cc-33fd-4684-b678-5d66ea24580d</credentialsId>
          <hostPattern>pattern</hostPattern>
          <inventory class="org.jenkinsci.plugins.ansible.InventoryPath">
            <path>file</path>
          </inventory>
          <module>module</module>
          <command>command</command>
          <sudo>true</sudo>
          <sudoUser>sudo</sudoUser>
          <forks>5</forks>
          <unbufferedOutput>true</unbufferedOutput>
          <colorizedOutput>true</colorizedOutput>
          <hostKeyChecking>true</hostKeyChecking>
          <additionalParameters>additional</additionalParameters>
        </org.jenkinsci.plugins.ansible.AnsibleAdHocCommandBuilder>
      </builders>
      
      <inventory class="org.jenkinsci.plugins.ansible.InventoryContent">
        <content>content</content>
        <dynamic>true</dynamic>
      </inventory>
      <inventory class="org.jenkinsci.plugins.ansible.InventoryPath">
        <path>file</path>
      </inventory>
      

            lanwen Kirill Merkushev
            v2v Victor Martinez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: