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
- Ansible 2.4+
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 |
No dependencies.
- 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
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.
GNU AFFERO GENERAL PUBLIC LICENSE, Version 3
- Cedric DELGEHIER (maintainer)