Coder Social home page Coder Social logo

ansible-privacyidea's Introduction

Ansible PrivacyIdea Role

Supporting:

  • privacyidea installation using independent python distribution (using miniconda).
  • Choose backend database, sqlite (default), mysql and postgresql.
  • LDAP proxy installation.
  • Flexible application path.

Install

ansible-galaxy install iomarmochtar.privacyidea

Requirements

  • Internet access to download all required files and packages.
  • Disable SELinux.
  • Backend database if you are using other than sqlite.

Role Variables

You can see all the default variable in defaults/main.yml, but you may change following variables:

  • install, set to "true" if you want do installation.
  • install_ldap_proxy, set to "true" if you want to install ldap proxy.
  • admin_act, for admin account that will be created.
  • admin_pwd, admin account password.
  • admin_email, admin's email.
  • driver, set to mysql or postgresql otherwise will set to the default one (sqlite).
  • db_params, database parameter for mysql or postgresql.

Example Playbook

This is example of installing privacyidea including it's ldap proxy by using mysql as data store. make sure the database is available with given grans

---
- hosts: 127.0.0.1 
  roles:
    - role: iomarmochtar.privacyidea
      install: true
      install_ldap_proxy: true
      driver: mysql
      db_params:
        db_name: 2fa
        port: 3306
        host: 127.0.0.1
        username: 2fa
        password: 2fa

License

GNU GPL v3.0

Author Information

Author: Imam Omar Mochtar
Email: [email protected]
Website: https://blog.mochtar.net

ansible-privacyidea's People

Contributors

iomarmochtar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.