William-Yeh.sudo-agent-forwarding

williamyeh.sudo-agent-forwarding for Ansible Galaxy

Summary

Role name in Ansible Galaxy: williamyeh.sudo-agent-forwarding

This Ansible role has only one simple feature:

  • Install specific sudo setting to allow SSH agent forwarding.

If you prefer a more complete sudoers solution, try alternatives such as franklinkim.sudo, mivok0.sudo, Stouts.sudo, or mchlumsky.sudoersd (a fork of knopki.sudoers).

Role Variables

None.

Usage

Step 1: add role

Add role name williamyeh.sudo-agent-forwarding to your playbook file.

You're done!

Simple example:

---
# file: simple-playbook.yml

- hosts: all
  become: true
  roles:
    - williamyeh.sudo-agent-forwarding

Dependencies

None.

License

Licensed under the MIT License. See the LICENSE file for details.

History

Forked and rewritten from knopki.sudoers.

About

Enable ssh agent forwarding for sudo users

Install
ansible-galaxy install William-Yeh.sudo-agent-forwarding
GitHub repository
License
other
Downloads
759