Commit Graph

204 Commits

Author SHA1 Message Date
Aleskey Zalesov 0a19c27627 Revert changes that split master playbook 2018-03-02 11:18:14 +03:00
Aleksey Zalesov db944c8ab4 Add pre-commit hook to check playbook syntax 2018-03-02 11:03:04 +03:00
Aleksey Zalesov bbdfb8c6da Fix linter errors on netstat role 2018-03-02 11:03:04 +03:00
Aleksey Zalesov e0d90df027 Name the unnamed tasks in Ansible playbooks
Ansible-linter requires all the tasks in the playbook to be named.

Reference to the linter rule:

[ANSIBLE0011] All tasks should be named
2018-03-02 11:03:04 +03:00
Aleksey Zalesov 7466f49daf Fix version of the git cloned code
Specify exact commit, tag or version branch when cloning the git repo to make
deployments repeatable. The commit sets explicit commit hash for the git
checkout.

Ansible-lint rule:

[ANSIBLE0004] Git checkouts must contain explicit version
2018-03-02 11:03:04 +03:00
Aleksey Zalesov 070846586c Make package installs repeatable
Package installs should use the state `present` so running the playbook for the
second time would not change the package version. To achive repeatability
between several deployments playbook should specify the particular version of
the package (not implemented).

Ansible-lint rule reference:

[ANSIBLE0010] Package installs should not use latest
2018-03-02 11:03:04 +03:00
Aleksey Zalesov c5a15c5745 Configure task to install npm modules
There is a specific module for installing npm modules that should be used
instead of the shell module.
2018-03-02 11:03:04 +03:00
Aleksey Zalesov fa9ac3c00b Use copy module instead of shell command 2018-03-02 11:03:04 +03:00
Aleksey Zalesov 68761db1a8 Mute warning on swap tasks
Ansible lint throughs warnings about swap tasks using the shell module. Based on
my experience the way these tasks are implemented is the optimal one. So I
decided to mute the warning and keep using shell module.
2018-03-02 11:03:04 +03:00
Aleksey Zalesov 28e3521fcb Add tasks to generate SSL certificates
Ansible provides specific modules for SSL certificates generation. Better use
them instead of the shell command for the idempotence and ease of maintanence.
2018-03-02 11:03:04 +03:00
Aleksey Zalesov c3222852ab Fix deprecation warning about include statement
Use `import_tasks` instead of `include`.
2018-03-02 11:02:58 +03:00
Vitaly Znachenok ab14bcbe7f Merge branch 'master' of https://github.com/poanetwork/deployment-playbooks 2018-02-21 23:18:11 +03:00
Vitaly Znachenok 38b52367ff update security group model. 2018-02-21 23:18:08 +03:00
phahulin a3654f786c Master: Update bootnode options to parity 1.9.2 2018-02-21 17:54:04 +03:00
phahulin 45b0e8b10c Master: update default to parity 1.9.2 2018-02-21 17:49:57 +03:00
phahulin 62549a73b3
Merge pull request #69 from phahulin/master
Switch to sha256 check for binaries instead of md5
2018-02-09 16:20:58 +03:00
phahulin a0eb5c0613 Switch to sha256 check for binaries instead of md5 2018-02-09 16:14:46 +03:00
Igor Barinov c1f950e640
Merge pull request #66 from phahulin/master
Update AWS ami
2018-02-08 08:55:13 -08:00
phahulin 70d57eb868 Fix different regions and ami in all.example and all.network 2018-02-08 18:33:59 +03:00
phahulin 3de7255492 Update AWS ami 2018-02-08 17:57:46 +03:00
phahulin 101e3610e0
Merge pull request #65 from phahulin/master
Validate md5 checksums of parity bin and orchestrator bin
2018-02-08 14:18:46 +03:00
phahulin a9df9b8f88 Validate md5 checksums of parity bin and orchestrator bin 2018-02-08 14:16:26 +03:00
phahulin 47e08a0f17
Merge pull request #64 from phahulin/master
(Feature) Add option to install parity-orchestrator on a bootnode
2018-02-07 19:45:35 +03:00
phahulin 9fcd01da9a Add parameters to all.example and all.network 2018-02-07 19:44:40 +03:00
phahulin 27bd1589c5 Add option to install orchestrator on bootnodes 2018-02-07 19:38:33 +03:00
phahulin 3ba93a224c
Merge pull request #2 from poanetwork/master
Merge latest changes from upstream
2018-02-07 19:21:25 +03:00
phahulin e7e87322e7 Make order for parameters same for moc and validator 2018-02-05 21:34:57 +03:00
phahulin 0860a4c4ec Set min_gas_price = 1 gwei for moc and validator nodes 2018-02-05 21:33:04 +03:00
phahulin d129ca37ee
Merge pull request #1 from poanetwork/master
Pull latest changes from upstream
2018-02-05 17:47:06 +03:00
phahulin 1a086ee8a9 Add tracing for archiving nodes 2018-01-27 21:07:45 +03:00
phahulin 162eee1870 Fix: remove first line 2018-01-24 23:45:49 +03:00
phahulin dbcd4a3500 Rewrite README 2018-01-24 23:44:15 +03:00
VitalyZnachenok 5c5e41b22e
Merge pull request #53 from phahulin/master
Options to create archive-nodes
2018-01-12 18:03:48 +03:00
phahulin 2480d7291b Change order of blocks in node.toml of a bootnode to make it the same as other node types 2018-01-12 17:23:00 +03:00
phahulin 0409d84a52 Archive-mode for validator, moc, bootnode 2018-01-12 17:17:52 +03:00
phahulin 4433a73d94
Merge pull request #52 from hashguide/master
(Fix) moved ansible_python_interpreter from all.example to all.network
2018-01-11 22:50:33 +03:00
Stephen Arsenault b568e4d05a moved ansible_python_interpreter from all.example to all.network 2018-01-11 13:48:49 -05:00
VitalyZnachenok eaa342387d
Merge pull request #48 from hashguide/master
(Fix) Add python3 support for remote node master branch
2018-01-11 19:23:45 +03:00
VitalyZnachenok 57082292d6
Merge pull request #49 from phahulin/master
Move node.toml files to the playbook as templates
2018-01-11 17:58:10 +03:00
phahulin 68e8457a74 Move node.toml files to the playbook as templates 2018-01-11 16:05:41 +03:00
Stephen Arsenault 4bbddf7745 Add python3 support for remote node 2018-01-11 02:44:34 -05:00
phahulin 829935960f
Merge pull request #39 from phahulin/master
Add option usd_per_tx to toml
2018-01-05 22:21:18 +03:00
phahulin 948f7ffbd5 Add usd_per_tx option, set to 0 2018-01-05 22:05:26 +03:00
phahulin 495d3c375a Update year in LICENSE 2018-01-05 22:04:57 +03:00
phahulin 6651791c2c
Merge pull request #34 from phahulin/master
Add warning in all.example
2017-12-28 13:00:33 +03:00
phahulin d495516b07
Add warning in all.example 2017-12-28 12:56:48 +03:00
Vitaly Znachenok 675e546e27 fix nginx header issue 2017-12-27 23:05:18 +03:00
phahulin 33023fc3c8
Merge pull request #29 from phahulin/master
Core: rename repo
2017-12-23 21:44:25 +03:00
Pavel Khakhulin 6692c77377 Rename repo 2017-12-23 21:36:35 +03:00
phahulin 6110326339 Remove underscores from templates 2017-12-22 14:26:11 +03:00