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

Ansible Playbook Syntax Generator Does Not Generate 'become' Option

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • ansible-plugin
    • None
    • ansible-plugin 0.8.0

      The become option should be included in the snippet generator when it is checked but it does not.

      • The workaround is to manually include the option 'become: true' in a pipeline script

      becomeUser and sudoUser should receive their default values by default too. The current version generates null as the users by default which is likely to cause issues.

      • The workaround is to not include the generated 'becomeUser: null' and 'sudoUser: null' options if the user 'root' is desired

            escoem Emilio Escobar
            michaelcresswell Michael Cresswell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: