Skip to content
An Ansible playbook for installing Duo Security Unix SSH Integration
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
roles/duo_security
LICENSE
README.md
site.yml

README.md

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
You can’t perform that action at this time.