mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
docs: Note how we use Terraform/Ansible as an example
This commit is contained in:
9
ntools/one-m/ansible/one-m-node.yml
Normal file
9
ntools/one-m/ansible/one-m-node.yml
Normal 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
|
||||
10
ntools/one-m/ansible/roles/common/handlers/main.yml
Normal file
10
ntools/one-m/ansible/roles/common/handlers/main.yml
Normal 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
|
||||
Reference in New Issue
Block a user