ArseniiPetrovich
d111f94dca
fix for #113
2018-04-20 14:03:42 +03:00
ArseniiPetrovich
35bad690ac
Fix for #114
2018-04-20 13:42:53 +03:00
ArseniiPetrovich
704d834112
separating aws variables, renaming files from .example to .yml.example
2018-04-19 19:54:45 +03:00
ArseniiPetrovich
c920af7389
hotfix (partially) for #76 issue
2018-04-19 19:40:26 +03:00
ArseniiPetrovich
7988410a8d
fixes for #76 , #79 , #80 , #92 , #99 , partially #102 , partially #104
2018-04-19 19:31:20 +03:00
phahulin
51a270a868
Explicitly disable ui and dapps in config
2018-03-26 16:58:04 +03:00
phahulin
0184e52fd0
Merge pull request #96 from lexsys27/role-variables
...
Role-level variables
2018-03-23 18:04:39 +03:00
Aleskey Zalesov
5d5c502133
Move variables to the netstat role
2018-03-16 16:09:47 +03:00
Aleskey Zalesov
196f6109a4
Move variables to the moc role
2018-03-16 16:07:46 +03:00
Aleskey Zalesov
3bb51d12c9
Move default vars to the explorer role
2018-03-16 16:07:28 +03:00
Aleskey Zalesov
9a16a22cd6
Move bootnode_orchestrator and bootnode_archive variables to the bootnode role
2018-03-16 15:59:56 +03:00
Aleskey Zalesov
1a0b29baf1
Move access control variables to the role level
2018-03-16 15:58:38 +03:00
Aleskey Zalesov
a35e120bca
Move variables from playbook to bootnode role
2018-03-16 15:57:55 +03:00
phahulin
df2aaf44de
Merge pull request #89 from poanetwork/remove-unused-vars
...
Remove unused variables related to dns and ntp servers
2018-03-15 17:55:37 +03:00
phahulin
7971871d37
Merge pull request #87 from lexsys27/local-deployment-environment
...
Local deployment environment
2018-03-15 17:45:25 +03:00
phahulin
4a67548a36
Remove unused variables related to dns and ntp servers
2018-03-15 13:51:52 +03:00
Aleskey Zalesov
a18e5b3620
Add stubs for the integration tests
...
They are running each time machine is provisioned.
2018-03-13 14:24:11 +03:00
Aleskey Zalesov
096dd933f4
Delete comment from Vagrantfile
2018-03-13 14:17:16 +03:00
Aleskey Zalesov
4bf94e0efb
Add test clause to the Makefile
...
Runs vm provisioning one after one. Takes ~20 minutes for the whole test
on MBP i5.
2018-03-13 14:15:51 +03:00
Aleskey Zalesov
64c7cefe76
Add Vagrantfile to test playbooks locally
...
Vagrant uses VirtualBox provider to run the virtual machines. Docker is
not useful in playbooks testing as requires their modification.
2018-03-13 14:14:52 +03:00
phahulin
6f6ba5df16
Merge pull request #82 from lexsys27/ansible-linter
...
Ansible linter
2018-03-06 16:01:34 +03:00
Aleskey Zalesov
2ab5b4ef99
Run Ansible provisioner for the validator vm
2018-03-05 18:37:50 +03:00
Aleskey Zalesov
726694b1c8
Ignore Vagrant temporary files
2018-03-05 18:15:12 +03:00
Aleskey Zalesov
ae670b8a73
Run Ubuntu vm from Vagrant
2018-03-05 18:14:02 +03:00
Aleskey Zalesov
13f2407d18
Refactor API version to the role variable
2018-03-05 16:56:10 +03:00
Aleskey Zalesov
fa40343af6
Refactor netstat version to the role variable
2018-03-05 16:54:48 +03:00
Aleskey Zalesov
df7e9d0db1
Refactor explorer version to the role variable
2018-03-05 16:53:07 +03:00
Aleskey Zalesov
e38f34ccb8
Run syntax check without inventory file
...
- useful in the development setting where no deployment takes place
- shows a lot of warnings about the inventory file absence
2018-03-05 14:59:51 +03:00
Aleskey Zalesov
17016d6549
Fix include deprecation warning
...
Use import_tasks instead. Limited to the ec2 security access tasks.
2018-03-02 14:56:25 +03:00
Aleskey Zalesov
66dce03154
Skip validation of AWS playbooks
...
Linter shows long list of rules violation while going through the AWS
playbooks. AWS automation is out of scope for this PR. To enable correct
Git Hook behavior I limited the check scope to site.yml only.
2018-03-02 14:50:40 +03:00
Aleskey Zalesov
510b81fa9c
Skip system upgrade
...
Cloud images already provide OS with latest security upgrades installed.
Closes poanetwork/deployment-terraform#19
2018-03-02 14:38:57 +03:00
Aleskey Zalesov
8c0f0f7218
Delete training whitespaces
...
[ANSIBLE0002] Trailing whitespace
2018-03-02 14:17:40 +03:00
Aleskey Zalesov
77711a029c
Fix typo with CSR path
2018-03-02 14:02:53 +03:00
Aleskey Zalesov
20651723a2
Install SSL packages
2018-03-02 14:02:39 +03:00
Aleskey Zalesov
e25e7f9293
Run plays with sudo
...
Fixes #83
2018-03-02 12:25:38 +03:00
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