Skip to content

open-io/ansible-role-openio-conscienceagent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Ansible role conscienceagent

An Ansible role for Conscience agent. Specifically, the responsibilities of this role are to:

  • install the OpenIO Conscienceagent
  • configure the OpenIO Conscienceagent

Requirements

  • Ansible 2.4+

Role Variables

Variable Default Comments (type)
openio_conscienceagent_namespace "OPENIO" Namespace
openio_conscienceagent_serviceid "0" ID in gridinit
openio_conscienceagent_version latest Install a specific version
openio_conscienceagent_gridinit_dir /etc/gridinit.d/{{ openio_conscienceagent_namespace }} Path to copy the gridinit conf
openio_conscienceagent_gridinit_file_prefix "" Maybe set it to {{ openio_conscienceagent_namespace }}- for old gridinit's style
openio_conscienceagent_provision_only false Provision only without restarting services
openio_conscienceagent_check_interval 5 Check inverval in seconds
openio_conscienceagent_check_rise 1 Number of consecutive successful checks to switch service status to up
openio_conscienceagent_check_fall 2 Number of consecutive unsuccessful checks to switch service status to down
openio_conscienceagent_package_upgrade false Set the packages to the latest version (to be set in extra_vars)

Dependencies

No dependencies.

Example Playbook

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

  roles:
    - role: repository
    - role: users
    - role: namespace
    - role: gridinit
      openio_gridinit_namespace: "{{ NS }}"
    - role: conscience
      openio_conscience_namespace: "{{ NS }}"
      openio_conscience_bind_address: "{{ ansible_default_ipv4.address }}"
      openio_conscience_pools: []
    - role: meta
      openio_meta_namespace: "{{ NS }}"
    - role: oioproxy
      openio_oioproxy_namespace: "{{ NS }}"
    - role: conscienceagent
      openio_conscienceagent_namespace: "{{ NS }}"
[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

About

Ansible role to deploy OpenIO conscience agent

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages