Skip to content

Ansible provisioning for Open Courts servers

Notifications You must be signed in to change notification settings

otvorenesudy/otvorenesudy-server

Repository files navigation

Open Courts Server

Provisioning roles and script for Open Courts servers.

Installation

git clone --recursive git://github.com/otvorenesudy/otvorenesudy-server.git
brew install ansible hudochenkov/sshpass/sshpass

Deployment

Development

First, try out deployment on localhost with Vagrant by uncommenting vagrant's sysctl settings in site.yml.

ansible-playbook -i hosts-development site.yml --ask-pass # Vagrant password is vagrant, usually.

Production

Make sure, that you use correct sysctl.kernel attributes in site.yml. If you're not sure about sysctl.kernel attributes, just run ansible-playbook -i hosts setup.yml.

Run provision.

ansible-playbook -i hosts site.yml

Note: You'll need the root password here or have your public key in .ssh/authorized_keys under root, as the root is used as a users to setup up the server.

Install monitoring as root by Netdata

wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh --nightly-channel --claim-token CLAIM_TOKEN --claim-url https://app.netdata.cloud

Contributing

  1. Fork it
  2. Create your feature branch git checkout -b new-feature
  3. Commit your changes git commit -am 'Add some feature'
  4. Push to the branch git push origin new-feature
  5. Create new Pull Request

License

Educational Community License 1.0

About

Ansible provisioning for Open Courts servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published