Skip to content

jlafon/ansible-duo-security

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

ansible-duo-security

An Ansible playbook for installing Duo Security Unix SSH Integration for easy multifactor authentication for SSH logins on Ubuntu.

This playbook requires Ansible 1.4+, and has only been tested with Ubuntu 12.04 LTS.

How to use it

  1. Install Ansible

    apt-get install python-pip python-paramiko python-yaml python-jinja2 python-simplejson git-core
    git clone git://github.com/ansible/ansible.git
    source ./ansible/hacking/env-setup
  2. Create an inventory or hosts file. See Ansible's inventory documentation.

    echo "localhost" > ~/ansible_hosts
    export ANSIBLE_HOSTS=~/ansible_hosts
  3. Run the playbook locally

    ansible-playbook -c local site.yml
  4. Or run the playbook using a hosts inventory

    ansible-playbook -i hosts site.yml

About

An Ansible playbook for installing Duo Security Unix SSH Integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published