Skip to content

opsmatic/opsmatic-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opsmatic

The Opsmatic role allows the installation of the Opsmatic Agent on hosts you're managing with Ansible

Requirements

This role has no requirements

Role Variables

The variable opsmatic_integration_token must contain your Opsmatic integration token, you can obtain this through the Opsmatic UI.

Dependencies

This role has no dependencies.

Example Playbook

- hosts: servers
  roles:
     - opsmatic.opsmatic

Example /default/main.yml

In the event that you would like to set all of the default variables change the default/main.yml file:

---                                           
opsmatic_auth_http: "https://api.opsmatic.com"
opsmatic_integration_token: "YOURINTEGRATIONTOKEN"
opsmatic_install_cli: true
opsmatic_host_alias: "myhostalias_name"
opsmatic_groups: ['groupone','grouptwo','groupthree', 'yet-another-group']
opsmatic_file_monitor_list: ['/etc/nginx/nginx.conf','/etc/ssh/sshd_config','/etc/hosts']

Testing

bundle install --path vendor/bundle
bundle exec kitchen list
bundle exec kitchen test

# for development, shorter cycle
bundle exec kitchen converge <platform>
bundle exec kitchen verify <platform>

License

MIT

Author Information

Contact us at https://github.com/opsmatic/opsmatic-ansible

About

Ansible Role for Opsmatic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages