Skip to content

pfexec become plugin does not work on illumos distros #3671

@manschwetusCF

Description

@manschwetusCF

Summary

Pfexec become plugin does use non existing options and bad quoting, see: ansible/ansible#15642

The old change described in this patch still works, I'm ready to open a pull request for.

Issue Type

Bug Report

Component Name

community.general.pfexec
plugins/become/pfexec.py

Ansible Version

$ ansible --version
ansible [core 2.11.6] 
  config file = None
  configured module search path = ['/home/florian/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.9/site-packages/ansible
  ansible collection location = /home/florian/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/lib/python-exec/python3.9/ansible
  python version = 3.9.7 (default, Oct 17 2021, 02:52:49) [GCC 10.3.0]
  jinja version = 3.0.1
  libyaml = True

Community.general Version

$ ansible-galaxy collection list community.general

# /usr/lib/python3.9/site-packages/ansible_collections
Collection        Version
----------------- -------
community.general 3.7.0

Configuration

No response

OS / Environment

OmniOS, OpenIndiana, etc.

Steps to Reproduce

configure host with OmniOS for become method pfexec

Expected Results

become method pfexec works

Actual Results

become method pfexec does not work

Code of Conduct

  • I agree to follow the Ansible Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions