GithubHelp home page GithubHelp logo

joaocenoura / orzaphur Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 164 KB

Ansible deployment of a Java development ecosystem. (deprecated & incomplete; check jdevtools)

License: MIT License

Shell 41.38% Ruby 58.62%

orzaphur's People

Contributors

joaocenoura avatar

Watchers

 avatar

orzaphur's Issues

backup/restore git

The backup process must occur after all the others roles backups. On the other hand, the restore process must be the first to occur so the other roles can access the backup repository.
Backup process of git:

  • tar.gz home directory
  • use ansible fetch to pull the tar file

Restore process of sonar:

  • use ansible copy to push the backup file
  • untar home directory

backup/restore sonar

Backup process of sonar:

  • checkout the 'backup' repository from git server (see #3)
  • add:
    • mysql database dump (via mysqldump)
  • commit with message "sonar"
  • push to git server

Restore process of sonar:

  • checkout the 'backup' repository from git server (see #3)
  • restore:
    • mysql database dump (via mysql)

backup/restore redmine

Backup process of redmine:

  • checkout the 'backup' repository from git server (see #3)
  • add:
    • mysql database dump (via mysqldump)
    • uploaded files at /var/lib/redmine (via rsync)
  • commit with message "redmine"
  • push to git server

Restore process of redmine:

  • checkout the 'backup' repository from git server (see #3)
  • restore:
    • mysql database dump (via mysql)
    • /var/lib/redmine (via rsync)

backup/restore jenkins

Reference: https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins
Note: "Backups can be taken without stopping the server, but when you restore, please do stop the server."
Backup process of jenkins:

  • checkout the 'backup' repository from git server (see #3)
  • add:
    • jenkins home (via rsync)
      commit with message "jenkins"
  • push to git server

Restore process of jenkins:

  • checkout the 'backup' repository from git server (see #3)
  • stop jenkins
  • restore:
    • jenkins home (via rsync)
  • start jenkins

new role: proxy

Create a new role named "proxy". The main propose, for now, is to cache deb packages in a separated vagrant box. Goal:
Install and configure apt-cacher

code review

Ensure that every role uses variables correctly and when possible. The playbook should be as generic and configurable as possible. This issue should be started after all enhancement issues are closed, in order to spot missing cases. So, check:

  • variables: whenever needed, use variables and extend configuration scope
  • tags: ensure all tasks have at least one tag

backup repository role/git

git role should have a 'special' repository for backup proposes. The goal is to create a dedicated repository for other roles places their backup files.
Thus each role (e.g.: redmine, jenkins...) can:

  • have a dedicated folder on backup repo
  • add/commit/push backup files

secure servers

(this issue is in a draft stage)

  • configure iptables
  • allow key based login only
  • ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.