docs: Note how we use Terraform/Ansible as an example

This commit is contained in:
troymc
2016-08-22 13:43:56 +02:00
parent 05ec422d5d
commit 4cd0311bc2
3 changed files with 24 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
---
# This playbook deploys a BigchainDB node in one machine (one-m).
- name: deploy all software and configure it
hosts: all
remote_user: root
roles:
- common

View File

@@ -0,0 +1,10 @@
---
# This file should be in roles - common - handlers
# Handler to handle common notifications. Handlers are called by other plays.
# See http://docs.ansible.com/playbooks_intro.html for more information about handlers.
- name: restart ntp
service: name=ntpd state=restarted
- name: restart iptables
service: name=iptables state=restarted