Giter Site home page Giter Site logo

ansible-role-zoneminder's Introduction

ndobbs.ansible-role-zoneminder

Installs & configures ZoneMinder on EL.

Requirements

None

Role Variables

# ansible-role-zoneminder/defaults/main.yml
# ---
# Zoneminder db credentials
zm_db_root_password: "root"
zm_db_user: "zmuser"
zm_db_user_password: "zmpass"

# zmrepo install URL
zm_yum_repo_url: "http://zmrepo.zoneminder.com/el/{{ ansible_distribution_major_version }}/{{ ansible_architecture }}"

# Timezone information
# A proper install requires /etc/php.ini configuration
# This role will assume you are gathering facts and will set date.timezone based upon machine configuration
date_timezone: "{{ ansible_date_time.tz }}"


# ansible-role-zoneminder/vars/main.yml
# ---
# Create maps of options that differ by EL version
zm_db_options: 
  6: "mysqld"
  7: "mariadb"
zm_path_conf_options:
  6: "/etc/zm.conf"
  7: "/etc/zm/zm.conf"

# Populate values from options maps
zm_db: "{{ zm_db_options[ansible_distribution_major_version] }}"
zm_path_conf: "{{ zm_path_conf_options[ansible_distribution_major_version] }}"

Dependencies

None.

Example Playbook

- hosts: all
  roles:
    - name: "Ensure ZoneMinder"
      role: ndobbs.ansible-role-zoneminder

License

BSD

TODO

Add SSL configuration support Add support for debian distros

Author Information

This Ansible role was created by Nate Dobbs in 2014.

ansible-role-zoneminder's People

Contributors

cmprescott avatar ndobbs avatar

Stargazers

 avatar  avatar  avatar

Watchers

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