Coder Social home page Coder Social logo

richvred / ansible-haveged Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shrikeh-ansible-roles/ansible-haveged

0.0 2.0 0.0 16 KB

Ansible role for installing haveged (http://www.issihosts.com/haveged) to improve entropy on Linux machines

License: MIT License

Shell 100.00%

ansible-haveged's Introduction

Haveged


Ansible Role Build Status GitHub Stars

This role installs haveged on a server.

"The haveged project is an attempt to provide an easy-to-use, unpredictable random number generator based upon an adaptation of the HAVEGE algorithm. Haveged was created to remedy low-entropy conditions in the Linux random device that can occur under some workloads, especially on headless servers. Current development of haveged is directed towards improving overall reliablity and adaptability while minimizing the barriers to using haveged for other tasks."

Requirements


On CentOS flavours, you will need to ensure that you have the Extra Packages for Enterprise Linux (EPEL) repository. Various roles cover this on Galaxy and rather than choosing one I leave it to you to choose.

Role Variables


Default: false

Whether to use "present" or "latest" for package installation.

Default: 1024

The desired low entropy watermark to use in init files.

Default: 0600

The desired file mode for the template. Debian only.

Default: root Owner of the init file. Used for Debian only.

Default: root Group of the init file. Used for Debian only.

Default: /etc/default/haveged

File to be written to. Used for Debian only.

Default: debian.j2

Template to use for the init file. Used for Debian only.

####haveged_config_initd_path Default: /etc/init.d/haveged

Path to the init.d script. Used for CentOS/RHEL only.

####haveged_systemd_path_centos Default: /etc/systemd/system/multi-user.target.wants/haveged.service

Path to the systemd script on CentOS flavours.

####haveged_systemd_path_debian Default: /etc/systemd/system/default.target.wants/haveged.service

Path to the systemd script on Debian flavours.

Dependencies


None.

Example Playbook


Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

%YAML 1.2
---
- hosts: production
  roles:
    - { role: shrikeh.haveged, haveged_low_entropy_watermark: 2048 }
...

License


MIT

Author Information


Contact me on Twitter @barney_hanlon

ansible-haveged's People

Contributors

shrikeh avatar

Watchers

 avatar  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.