osm-fr / ansible-scripts Goto Github PK
View Code? Open in Web Editor NEWAnsible commands for servers handled by Openstreetmap-France
License: GNU General Public License v2.0
Ansible commands for servers handled by Openstreetmap-France
License: GNU General Public License v2.0
Mettre dans ansible la modif lue sur irc comme faite à la main
modifier la config proxmox pour que le load average vu des VM ne soit pas celui du host mais que celui de la VM sed -i 's/ExecStart=/usr/bin/lxcfs /var/lib/lxcfs$/ExecStart=/usr/bin/lxcfs /var/lib/lxcfs -l/' /lib/systemd/system/lxcfs.service mais pour que ce soit actif, il faut stopper toutes les VM, relancer ce service puis les VM... donc bon pour le prochain reboot
Due to this task:
When the playbook is executed, it installs the latest postgres version. We should indicate postgres'version to avoid that.
https://munin.openstreetmap.fr/osm26.openstreetmap.fr/osm147.openstreetmap.fr/osm_db_lag.html
change from : label "osm_base"
to "db replication lag" or something like that
Comme demandé dans l'issue 77 d'infrastructure, il faudrait rajouter un script de monitoring des backups dans le role backuppc-server.
$ ansible-playbook -u root -l osm312.openstreetmap.fr common.yml
<...>
TASK [common : Configure hostname] *********************************************************************************************************************************************
fatal: [osm312.openstreetmap.fr]: FAILED! => {"changed": false, "msg": "Command failed rc=1, out=, err=Could not get property: Failed to activate service 'org.freedesktop.hostname1': timed out\n"}
$ ansible --version
ansible 2.8.0.dev0
ajouter quelque chose comme
set_real_ip_from 10.0.0.0/24;
real_ip_header X-Forwarded-For;
afin que tous les backend aient l'ip réel dans les logs nginx
https://github.com/osm-fr/ansible-scripts/blob/master/roles/osmose-backend/files/README.deb#L7
selon @freed osmose n'utilise plus python2
@jocelynj on vire cette ligne ?
An error occurred while loading the map layer 'admin8': boost::filesystem::status: Permission denied: "/data/project/layers/layers-mapnik-styles/admin8.xml"
issue is at drwxr-x--- 3 layers layers 8 Jul 10 11:33 /data/project/layers/
Just a reminder for me to not forger to add these changes in ansible:
la tache download proxmox template donne l'impression de télécharger le template à chaque exécution
par ailleurs il est sans doute préférable de télécharger le templace directement sur le hosteur plutôt que télécharger en local puis l'envoyer au hosteur
add favicon.ico to ngnix/apache default vhost
maybe get it from osm-fr website or osm.org website
it's the conf by default tile_dir=/var/cache/renderd
create a empty robots.txt for ngnix and/or apache default virtual host
role renderd should install munin plugins
one unit in the role <> 2x2 in the server
last run fail
name: compile OSM-binary
command: chdir=/data/project/taginfo/OSM-binary/src make
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.