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

Add become_flag option

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hi,

      become_flags
      (at play or task level) permit the use of specific flags for the tasks or role. One common use is to change the user to nobody when the shell is set to no login. Added in Ansible 2.2.

      Example:
      become_flags: "-i"

      So we can load the .bashrc / .bash_profile to have the commands available in the PATH, etc.

      Thank you for this great plugin. I have made a task scheduler for cronjobs and ansible playbooks with monitoring of zabbix and your plugin was crucial.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            sirot Jean-Christophe Sirot
            Reporter:
            gothicx Marco Rodrigues
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: