Skip to content

Make it possible to run RQ worker under different system account #3

@br0ziliy

Description

@br0ziliy

Right now some validations/permissions checking and exception handling about OS-level access to playbooks/inventories is being performed in the plugin itself (basically checking if a user account Errbot is running under has access there).
This is kind of inefficient since nothing prevents a user from running RQ worker using a different (more secure) user account.
All the validations and Ansible command construction/call should be moved to a separate function and this function should be enqueued instead of directly enqueueing subprocess.check_output()

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions