mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
docs: minor edit to overview of prod node setup
This commit is contained in:
parent
d8a36019ae
commit
bcde21a2a3
@ -9,7 +9,7 @@ Deploying and managing a production BigchainDB node is much more involved than w
|
||||
|
||||
Thankfully, there are tools that can help (e.g. provisioning tools and configuration management tools). You can use whatever tools you prefer.
|
||||
|
||||
As an example, we provide documentation and code showing how to use Terraform and Ansible (together).
|
||||
As an example, we provide documentation and code showing how to use Terraform and Ansible (together). We use:
|
||||
|
||||
* [Terraform](https://www.terraform.io/) to provision infrastructure such as AWS instances, storage and security groups
|
||||
* [Ansible](https://www.ansible.com/) to manage the software installed on that infrastructure (configuration management)
|
||||
|
31
ntools/one-m/ansible/roles/common/tasks/main.yml
Normal file
31
ntools/one-m/ansible/roles/common/tasks/main.yml
Normal file
@ -0,0 +1,31 @@
|
||||
---
|
||||
# ansible/roles/common/tasks/main.yml
|
||||
|
||||
- name: Do the equivalent of apt-get update
|
||||
apt: update_cache=yes
|
||||
|
||||
- name: Uninstall ntpdate (deprecated)
|
||||
apt: name=ntpdate state=absent
|
||||
tags: ntp
|
||||
|
||||
- name: Update all installed packages to their latest versions
|
||||
apt: upgrade=dist
|
||||
|
||||
- name: Install ntp
|
||||
apt: name=ntp state=latest update_cache=yes
|
||||
tags: ntp
|
||||
|
||||
#- name: Configure ntp file
|
||||
# template: src=ntp.conf.j2 dest=/etc/ntp.conf
|
||||
# tags: ntp
|
||||
# "restart ntp" is the name of a handler (in common/handlers/main.yml)
|
||||
# notify: restart ntp
|
||||
|
||||
- name: Start the ntp service
|
||||
service: name=ntpd state=started enabled=yes
|
||||
tags: ntp
|
||||
|
||||
#- name: test to see if selinux is running
|
||||
# command: getenforce
|
||||
# register: sestatus
|
||||
# changed_when: false
|
Loading…
x
Reference in New Issue
Block a user