blog
Table des matières
- 2026:
- 2025:
16 billet(s) pour mai 2025
| Notes memcache | 2025/05/27 12:51 | Jean-Baptiste |
| Vim comme éditeur par defaut | 2025/05/27 10:20 | Jean-Baptiste |
| Notes git et cerfificats HTTPS | 2025/05/26 15:47 | Jean-Baptiste |
| Notes réseaux | 2025/05/26 10:06 | Jean-Baptiste |
| Notes protocol FTP | 2025/05/22 15:31 | Jean-Baptiste |
| Notes Webasm Wasm WebAssembly | 2025/05/20 17:31 | Jean-Baptiste |
| Bash et Programmation Fonctionnelle | 2025/05/19 17:01 | Jean-Baptiste |
| Notes P2P | 2025/05/17 23:17 | Jean-Baptiste |
| Notes Python - programmation fonctionnelle - curry curryfication currying | 2025/05/17 14:14 | Jean-Baptiste |
| Notes Communication inter-processus RPC | 2025/05/15 12:13 | Jean-Baptiste |
| Notes nested virtualization | 2025/05/15 12:06 | Jean-Baptiste |
| Notes IPython derrière un reverse proxy | 2025/05/14 03:22 | Jean-Baptiste |
| Notes install IPython sous Android avec Termux | 2025/05/14 03:22 | Jean-Baptiste |
| Notes fichiers - binaire executable exe elf | 2025/05/06 14:48 | Jean-Baptiste |
| Notes HTML | 2025/05/03 10:02 | Jean-Baptiste |
| Notes IPFS | 2025/05/01 01:56 | Jean-Baptiste |
Find list - Trouver des fichiers à partir d'une liste
find ~/mnt/ftp $(grep -v '^#' ~/plop.lst | sed -e 's/^/ -o -name /g' | tr -d '\n' | sed -e 's/-o//')
Ou encore avec updatedb / locate / plocate
updatedb -l 0 -o db_file_nas -U ~/mnt/ftp/ locate -d db_file_nas --regex "$(grep -v '^#' ~/plop.lst | sed -e 's|^|/|' -e 's|\n|$|' | tr "\n" "|" | sed '$ s/.$//')"
AWX inventaire vault
# Secrets vars_files: - '../../secrets/{{ tower_env }}/vault.yml'
Source : https://serverfault.com/questions/878320/how-to-use-existing-vault-files-in-ansible-tower
AWX - Configuration git en local (sans serveur web)
Prérequis
- Conf SSH par clef fonctionnelle pour l'utilisateur ayant le code ansible
- Les dossiers contenant le code ansible doivent être des dépôts git
Création du Credentials de type "Source Control"
- On ajoute la clef ssh privée
- On définie l'utilisateur
Création du projet
Source Control URL : ssh://192.168.1.200:/data/ansible/playbooks
NOTE: le nom de l'utilisateur est définie dans le crédential et n'a pas besoin d'être redéfinie ici
A la racine de notre projet : roles/requirements.yml
--- - name: nginx_conf src: ssh://ansible@192.168.1.200:/data/ansible/roles/nginx_conf scm: git version: main
Pb snmp
$ snmpwalk -a MD5 -A 'password' -l authNoPriv -u nagios 10.12.51.122 .1 iso.3.6.1.2.1.4.22.1.4.2.10.12.51.1 = INTEGER: 3 iso.3.6.1.2.1.4.23.0 = Counter32: 0 security service 3 error parsing ScopedPDU security service 3 error parsing ScopedPDU security service 3 error parsing ScopedPDU Timeout: No Response from 10.12.51.122 $ snmpwalk -a MD5 -A 'password' -l authNoPriv -u nagios 10.12.51.122 .1.3.6.1.2.1.4.23 iso.3.6.1.2.1.4.23.0 = Counter32: 0 security service 3 error parsing ScopedPDU security service 3 error parsing ScopedPDU security service 3 error parsing ScopedPDU security service 3 error parsing ScopedPDU security service 3 error parsing ScopedPDU security service 3 error parsing ScopedPDU
blog.txt · Dernière modification : de 127.0.0.1
