community.general.dzdo become – Centrify’s Direct Authorize

Note

This become plugin is part of the community.general collection (version 5.8.3).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install community.general.

To use it in a playbook, specify: community.general.dzdo.

Synopsis

  • This become plugins allows your remote/login user to execute commands as another user via the dzdo utility.

Parameters

Parameter

Comments

become_exe

string

Dzdo executable

Default: "dzdo"

Configuration:

  • INI entries:

    [privilege_escalation]
    become_exe = dzdo
    
    [dzdo_become_plugin]
    executable = dzdo
    
  • Environment variable: ANSIBLE_BECOME_EXE

  • Environment variable: ANSIBLE_DZDO_EXE

  • Variable: ansible_become_exe

  • Variable: ansible_dzdo_exe

become_flags

string

Options to pass to dzdo

Default: "-H -S -n"

Configuration:

  • INI entries:

    [privilege_escalation]
    become_flags = -H -S -n
    
    [dzdo_become_plugin]
    flags = -H -S -n
    
  • Environment variable: ANSIBLE_BECOME_FLAGS

  • Environment variable: ANSIBLE_DZDO_FLAGS

  • Variable: ansible_become_flags

  • Variable: ansible_dzdo_flags

become_pass

string

Options to pass to dzdo

Configuration:

  • INI entry:

    [dzdo_become_plugin]
    password = VALUE
    
  • Environment variable: ANSIBLE_BECOME_PASS

  • Environment variable: ANSIBLE_DZDO_PASS

  • Variable: ansible_become_password

  • Variable: ansible_become_pass

  • Variable: ansible_dzdo_pass

become_user

string

User you ‘become’ to execute the task

Configuration:

  • INI entries:

    [privilege_escalation]
    become_user = VALUE
    
    [dzdo_become_plugin]
    user = VALUE
    
  • Environment variable: ANSIBLE_BECOME_USER

  • Environment variable: ANSIBLE_DZDO_USER

  • Variable: ansible_become_user

  • Variable: ansible_dzdo_user

Authors

  • Ansible Core Team

Hint

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.