GithubHelp home page GithubHelp logo

ansible-ipa's Introduction

Ansible Role: IPA

Installs and configures Red Hat's IPA in a Master/Replica configuration.

Requirements

This role requires the alexharvey.bind role.

Role Variables

Name Default Type Description
ipa_role master String The IPA role, master or replica allowed.
prepare_replica false String Whether or not to prepare a replica. Set to true in the master role when building a master-replica configuration.
master String The FQDN of the IPA master.
replica String The FQDN of the IPA replica.
domain String The IPA DNS domain, e.g. example.com.
realm String The IPA Kerberos realm, e.g. EXAMPLE.COM.
admin_password String The IPA admin password.
ds_password String The IPA directory server password.

Configuration example

Master

---
ipa_role: master
prepare_replica: true
master: ipa1.example.com
replica: ipa2.example.com
domain: example.com
realm: EXAMPLE.COM
admin_password: admin1234
ds_password: dspass12

Replica

---
ipa_role: master
master: ipa1.example.com
replica: ipa2.example.com
domain: example.com
realm: EXAMPLE.COM
admin_password: admin1234
ds_password: dspass12

Example playbook

---
- hosts: servers
  roles:
  - ansible-ipa

License

MIT.

Run the tests

This role includes Test Kitchen tests that demonstrate an IPA configuration with a Master, a Replica, a separate DNS and a client.

To run the tests:

Make sure you have the following prerequisites installed:

  • VirtualBox
  • Vagrant
  • Ruby Gems
  • Ruby (tested on 2.0.0p481).
$ gem install bundler
$ bundle install

To set up and test the DNS server:

$ bundle exec kitchen verify dns-centos-72

To then set up and test the master:

$ bundle exec kitchen verify master-centos-72

To then set up and test the replica:

$ bundle exec kitchen verify replica-centos-72

To then set up and test the client and integration:

$ bundle exec kitchen verify client-centos-72

Teardown:

$ bundle exec kitchen destroy 

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.