Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adaxi/infrastructure
Software deployement and configuration management
https://github.com/adaxi/infrastructure
Last synced: about 2 months ago
JSON representation
Software deployement and configuration management
- Host: GitHub
- URL: https://github.com/adaxi/infrastructure
- Owner: adaxi
- Created: 2015-10-10T19:57:18.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-10T18:03:05.000Z (about 1 year ago)
- Last Synced: 2024-05-01T13:35:54.984Z (8 months ago)
- Language: Jinja
- Homepage:
- Size: 1.31 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Infrastructure
==============This repository holds configuration for the different machines I own.
To launch the configuration:
```sh
ansible-playbook -i env//inventory all.yml
```Discover, modify and test using vagrant
---------------------------------------A development and a production environment are available. The production environment
are my actual machines. The development machines are Vagrant based.Example for mediaserver:
```sh
mkdir infrastructure && cd infrastructuregit clone git://github.com/adaxi/infrastructure.git .
git clone git://github.com/ansible/ansible.git --recursive
source ansible/hacking/env-setupvagrant up media
ssh-copy-id vagrant@media # password is "vagrant"
ansible-playbook -i env/development/inventory mediaserver.yml
```Daily Driver
------------My daily driver consists of a Debian distribution. It contains all the tools
I use regularly. It is also pre-configured for my needs: my dotfiles are included.Before reinstalling your system make sure that the following items are safe:
* SSH keys
* GPG keys
* Keepass2 databaseWhen testing in the development environement, you need to login and run:
./install-gnome.
For some reason it requires /dev/tty and I have not found how to bypass
this. Either I find a way to fix it, or build a box with gnome included.Webserver
---------Hosts my websites with a Nginx + ( PHP-FPM | Node ) + Maria DB stack.
Hosts my apt repository.Before reinstalling your system make sure that the following items are safe:
* GPG keys (aptly)When installing the webserver you need to place the GPG keys for your repository
into ```env//keys```To create new GPG keys:
```sh
sudo apt-get install gnupg
gpg --gen-key # copy the key id
gpg --export-secret-keys --armor > env//private.gpg.key
gpg --export --armor > env//public.gpg.key```
Place a backup of the lusoleaves database in ```/backups/lusoleaves.sql``` for it to be restored.
Place a backup of the lusoleaves products in ```/backups/products``` for it to be restored.After installing the production system:
* Add the debian packages to the repositoryMedia Server (deprecated)
------------My media server is based on a Debian contains the following components:
* OpenMediaVaultBefore reinstalling your system make sure that the following items are safe:
* /etc/mdadm.confAfter installing the production system:
* Backup ```/etc/mdadm.conf```
* ddclient for DynDNS