Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 813 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 813 Bytes

Ansible/Monit

A nice little server monitoring and documentation example

Preparation

  • Install Ansible
  • Be sure you can connect with your hosts and become root without password on them ssh blog.entwicklerbier.org sudo -n. If you want to know more about privilege escalation with ansible, I recommend reading this.

Usage

You need to write/generate your own hosts, host_vars/*, .group_vars/all/mail_credentials.yml and .vault_passphrase for this to work. Have a look at the commit history of this repo for further explanation.

All Hosts

ansible-playbook playbook.yml

Specific Host

ansible-playbook -l blog.entwicklerbier.org playbook.yml