Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 688 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 688 Bytes

ansible-vm

Ansible playbook for setting greenfield VM deployment

TODO

  • Setup initial play
  • Install packages
  • Install Docker
  • Install Portainer
  • Install Node Exporter

Requirements (Ansible Collections)

Run the requirements install

ansible-galaxy collection install -r requirements.yaml

Installation

ansible-playbook -i hosts.yaml all.yaml

You can use tags to only run some of the roles.

ansible-playbook -i hosts.yaml all.yaml --tags=portainer

Accessing Prometheus Metrics

With Node Exporter configured, metrics are accessible at http://<vm-hostname>:9100/metrics