blog
Table des matières
- 2026:
- 2025:
5 billet(s) pour juin 2025
| GNU Linux - vérifier un mot de passe système /etc/shadows | 2025/06/05 14:40 | Jean-Baptiste |
| Notes cartes - map - GIS | 2025/06/05 11:30 | Jean-Baptiste |
| Notes Terminal sympa | 2025/06/05 11:05 | Jean-Baptiste |
| Spam être blacklisté a tort | 2025/06/04 22:43 | Jean-Baptiste |
| Notes Python Web coté client - Brython Pyodide PyScript | 2025/06/02 16:27 | 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
