Coder Social home page Coder Social logo

marsante / medshakeehr-ansible Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 99 KB

Automatisation de l'installation de MedShakeEHR par Ansible sur Debian

License: GNU General Public License v3.0

medshakeehr-ansible medshakeehr ansible-playbook automation dev-ops yml

medshakeehr-ansible's Introduction

MedShakeEHR-Ansible

Automatisation de l'installation de MedShakeEHR via Ansible pour Debian

Ce que le playbook fait :

  • Installation d'Apache
  • Installation de MariaDB
  • Installation de PHP
  • Installation de MedShakeEHR
  • Installation d'Orthanc en localhost
  • Installation d'Wireguard (VPN)
  • Sécurisation d'Apache
  • Sécurisation de MariaDB
  • Sécurisation de PHP
  • Sécurisation de l'OS
  • Sécurisation d'Wireguard (VPN)

À faire :

  • ?

Prérequis

  • Ansible > 2.5
  • Ansible > 2.9.10 pour la collection devsec.hardening
  • Avoir configuré correctement l'authentification SSH entre l'ordinateur client et l'ordinateur serveur.

Installation

  • Cloner le projet et installer les rôles :
git clone https://github.com/marsante/MedShakeEHR-Ansible.git
cd MedShakeEHR-Ansible
ansible-galaxy install -r requirements.yml 
  • Configurer les variables dans le dossier variables/main.yml
  • Si vous souhaitez versionner publiquement le projet, créez un fichier secret.yml, déplacez toutes les variables sensibles dedans et ajoutez le fichier à playbook.yml
  • Lancer le playbook en remplaçant user et host avec les bons paramètres :ansible-playbook playbook.yml -u <user> -i <host> ou via un fichier host.yml : ansible-playbook -i hosts.yml --user=<user> playbook.yml

Variables

Les variables des collections et rôles devsec.hardening, geerlingguy.firewall, hifis.unattended_upgrades, geerlingguy.apache, geerlingguy.php, geerlingguy.mysql, sont décrites dans les README des projets sur Github.

Nom Valeurs par défaut Description
timezone Europe/Paris Mettre à l'heure le serveur
msehr_package ['acl','curl', 'ghostscript','git','grub','imagemagick','ntp','pdftk','python3-openssl','wget'] Installer les dépendances de MSEHR
msehr_base_repo_url https://codeload.github.com/MedShake/MedShakeEHR-base/tar.gz/refs/tags/ Url du dépôt où récupérer l'archive MsEHR
msehr_base_release 7.1.1 Version de l'archive à récupérer (sans le préfixe v)
msehr_base_checksum sha256:8f13f4f3d6e3de6c9d5e3c9de52dd3683909067d0b01c60d6cbf32e530526a2d Somme de contrôle à effectuer sur l'archive récupérer
create_self_signed_cert true Mettre à false si vous ne voulez pas créer de certificat auto signé pour le serveur web
countryName FR le code de votre pays pour le certificat
localityName Paris Votre ville pour le certificat
organizationName Dr Strange Votre raison sociale pour le certificat
emailAdress [email protected] Votre adresse mail pour le certificat

Auteur, Contributeurs et Licence

  • Auteur
  • Contributeurs

Licence : GPL v3

medshakeehr-ansible's People

Contributors

indelog avatar marsante avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

indelog

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.