Code Monkey home page Code Monkey logo

ansible-role-openio-meta's Introduction

Build Status

Ansible role meta

An Ansible role for install and configure meta0, meta1 and meta2. Specifically, the responsibilities of this role are to:

  • Install package
  • Add specific configuration
  • Add a watch file for conscienceagent

Requirements

  • Ansible 2.4+

Role Variables

Variable Default Comments (type)
openio_meta_bind_address {{ hostvars[inventory_hostname]['ansible_' + openio_meta_bind_interface]['ipv4']['address'] }} Address IP to use.
openio_meta_bind_interface {{ ansible_default_ipv4.alias }} Interface to use
openio_meta_location "{{ ansible_hostname }}" Location
openio_meta_type meta0 Service type to provide [meta0, meta1, meta2]
openio_meta_namespace "OPENIO" Namespace
openio_meta_options [] Specific options
openio_meta_serviceid "0" ID in gridinit
openio_meta_slots [meta0] The service's slot in conscience
openio_meta_version latest Install a specific version
openio_meta_volume "/var/lib/oio/sds/{{ openio_meta_namespace }}/{{ openio_meta_type }}-{{ openio_meta_serviceid }}" Path to store data

Dependencies

No dependencies.

Example Playbook

- hosts: all
  become: true
  vars:
    NS: OIO

  roles:
    - role: users
    - role: repository
    - role: gridinit
      openio_gridinit_namespace: "{{ NS }}"
    - role: meta
      openio_meta_namespace: "{{ NS }}"
      openio_meta_type: meta2
      openio_meta_options:
        - meta2.outgoing.timeout.common.req=42.000000
[all]
node1 ansible_host=192.168.1.173

Contributing

Issues, feature requests, ideas are appreciated and can be posted in the Issues section.

Pull requests are also very welcome. The best way to submit a PR is by first creating a fork of this Github project, then creating a topic branch for the suggested change and pushing that branch to your own fork. Github can then easily create a PR based on that branch.

License

GNU AFFERO GENERAL PUBLIC LICENSE, Version 3

Contributors

ansible-role-openio-meta's People

Contributors

cdelgehier avatar vincele avatar

Watchers

James Cloos 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.